localized copy of go-rest-api now working.
Issue 1: 'task gen' not generating server code in /pkg/swagger change to /pkg/swagger and executing 'go generate gen.go' worked.
Issue 2: Had to manually set import statement in server.go to match the git version
Issue 3: go.mod had to be manually created to match the git version.
VScode is issuing a warning that 'io/ioutil' has been deprecated since Go 1.16
💪 thanks for your remark about io/ioutil package: pkg.go.dev/io/ioutil
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
localized copy of go-rest-api now working.
Issue 1: 'task gen' not generating server code in /pkg/swagger
change to /pkg/swagger and executing 'go generate gen.go' worked.
Issue 2: Had to manually set import statement in server.go to match the git version
Issue 3: go.mod had to be manually created to match the git version.
VScode is issuing a warning that 'io/ioutil' has been deprecated since Go 1.16
💪
thanks for your remark about io/ioutil package:
pkg.go.dev/io/ioutil