title: Go environment variables stay unchanged after setting
body: <p>I start learning Go programming by watching online tutorials. I use Windows command prompt. However, after I typed <code>set GOOS = darwin</code> then used <code>go env</code> to print environment variables, <code>GOOS</code> was not set to <code>GOOS=darwin</code> but still <code>GOOS=windows</code> as default. </p>
  
  <hr>
  
  <p>Here is what I got. Could someone tell me where I went wrong such that I cannot make change on <code>GOOS</code>? </p>
  
  <pre><code>C:\GoPath\src\palindrome&gt;set GOOS = darwin
  
  C:\GoPath\src\palindrome&gt;go env
  set GOARCH=amd64
  set GOBIN=
  set GOEXE=.exe
  set GOHOSTARCH=amd64
  set GOHOSTOS=windows
  set GOOS=windows
  </code></pre>