title: Building a string in Go which is "public static"?
body: <p>I'm taking my first steps in Go. My first application shall implement a REST client. For this I'm building a <code>baseUrl</code> which all requests have in common.</p>
  
  <pre><code>var sb strings.Builder
  
  sb.WriteString("http://")
  sb.WriteString(host)
  sb.WriteString(":")
  sb.WriteString(strconv.Itoa(apiPortTest))
  sb.WriteString("/")
  sb.WriteString(basePathTest)
  
  var baseUrl = sb.String()
  </code></pre>
  
  <p>In Java I can use a <code>public static</code> string to access this in different classes/methods.</p>
  
  <p>Is there something equivalent in Go?</p>