title: Installing swaggo on windows (swagger + gin)
body: <p>I am trying to setup swagger for gin-gonic on windows. 
  Documentation of swaggo states that I should run:</p>
  
  <pre><code>go get -u github.com/swaggo/swag/cmd/swag
  </code></pre>
  
  <p>After installation I should be able to run <code>swag init</code> from within the root of my project where I have <code>main.go</code>, but the cmdlet states the following: </p>
  
  <pre><code>swag : The term 'swag' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
  the spelling of the name, or if a path was included, verify that the path is    correct and try again.
  At line:1 char:1
  + swag
  + ~~~~
  + CategoryInfo          : ObjectNotFound: (swag:String) [],  CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>How can I add swag to PATH or how should I proceed from here?</p>
  
  <p>Ps, i followed documentation from <a href="https://github.com/swaggo/swag" rel="nofollow noreferrer">here</a></p>
  
  <p><strong>Update</strong>: So I did a clean installation of Go on another PC, followed by <code>go get -u github.com/swaggo/swag/cmd/swag</code> and <code>swag</code> runs right of the bat. Earlier I followed <a href="https://revel.github.io/tutorial/gettingstarted.html" rel="nofollow noreferrer">this</a> tutorial and I might have accidentally messed up my <code>$GOPATH</code> on the original PC.</p>