title: Is it possible to reuse constant names in different file scopes?
body: <p>Is it possible to have two constants with the same name in different files?</p>
  
  <p>foo.go</p>
  
  <pre><code>const {
      deviceId = 1     // I dont need this outside the file scope
  }
  
  type DeviceA struct {
      .. some fields.. 
      // I cannot make constant fields here
  }
  
  .. some methods ...
  </code></pre>
  
  <p>bar.go </p>
  
  <pre><code>const {
      deviceId = 2      // I dont need this outside the file scope
  }
  
  type DeviceB struct {
      .. some fields ..
      // I cannot make constant fields here
  }
  
  .. some methods ...
  </code></pre>
  
  <p>If I do this, I get that <code>deviceId</code> has been redeclared. How can I keep these constants in the scope of the file?</p>
  
  <p>I would not mind using some kind of namespace for the constants if that were a solution to this.</p>