Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: installation of plugins for Go
v1.18
and above (#2174)
* Run go install after go get to install plugins This fixes #1163, but is not ideal... tooling binaries should be installed by running `go install [path]@[version]`, but protoc-gen-gocosmos uses a replace directive in the `go.mod` which is [incompatible with this method](golang/go#44840 (comment)). This fixes the problem for now, but adds plugin specific items to the go.mod of the scaffolded project, which shouldn't be there. * Update starport/pkg/cosmosgen/install.go Co-authored-by: İlker G. Öztürk <ilkergoktugozturk@gmail.com>
- Loading branch information