The modules documentation has a section on this: "Developing and testing against unpublished module code" https://golang.org/doc/modules/managing-dependencies#tmp_9
On Saturday, 20 February 2021 at 13:10:38 UTC+1 pkle...@xs4all.nl wrote: > Is there a way to tell go.mod that it should use local files instead > of a repository, just for the development phase? > > -- 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/d24ecd3b-72f7-4313-9bd4-8ffacd42e643n%40googlegroups.com.