matryer / moq

Interface mocking tool for go generate
http://bit.ly/meetmoq
MIT License
2k stars 127 forks source link

fix how to install of README for go1.16+ #147

Closed uji closed 3 years ago

uji commented 3 years ago

Fixed how to install of README for go1.16+. Because go1.16 and later, go install is recommended way for get & build cli tool.

Check this link for details. https://tip.golang.org/doc/go1.16#go-command

go install, with or without a version suffix (as described above), is now the recommended way to build and install packages in module mode. go get should be used with the -d flag to adjust the current module's dependencies without building packages, and use of go get to build and install packages is deprecated. In a future release, the -d flag will always be enabled.

sudo-suhas commented 3 years ago

Thanks for the documentation update @uji !