Usage
gen-code-from-swagger.sh
Steps
Download the specified version of go-swagger if it is not already present.
Install
goimportsto ensure consistent formatting https://pkg.go.dev/golang.org/x/tools/cmd/goimportsMake sure go path is exported
export PATH=$GOPATH/bin:$PATHyou should find
Successmessage which means the script ran :)