title: How to access variables in other package
body: <p>How can I move my global variable to other package in Go?</p>
  
  <p>like </p>
  
  <pre><code>package main
  import "myapp/controllers"
  
  var something string
  
  func main(){ 
    something = "some text" 
  }
  </code></pre>