On 2020-01-04 15:54, volf.to...@gmail.com wrote: > Greetings, > > I would like to ask if it is possible to publish go module using tarball and > later on somehow use it. All examples I was able are about using go modules > from some git repository. However, what I would like to do is publish > tarball
Would `go mod vendor` then building with `go build -mod=vendor` or `GOFLAGS=-mod=vendor go build` work for you? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/19208b7d-e411-6b09-9413-9a534cffbe5b%40gmail.com.