swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.76k stars 270 forks source link

Command 'swag' not found, did you mean: #216

Open basil-github opened 2 years ago

basil-github commented 2 years ago

Command 'swag' not found, did you mean:

command 'swig' from deb swig (4.0.1-5build1) command 'swab' from deb odin (2.0.3-2build1) command 'sway' from deb sway (1.4-2)

Try: sudo apt install

Flou21 commented 2 years ago

that worked for me: export PATH=$(go env GOPATH)/bin:$PATH

I'm using a mac

AshutoshSajan commented 1 year ago

that worked for me: export PATH=$(go env GOPATH)/bin:$PATH

I'm using a mac

thanks same command worked for ubuntu