I tried exactly that, it doesn't do that ... Am I doing something wrong ? Notice in the example below the dependency to `github.com/janpfeifer/gonb/gonbui`. The command `go work sync` doesn't do anything. And `go get` still fails with the same error:
``` $ cat main.go package main import ( "fmt" "github.com/joe/b" "github.com/janpfeifer/gonb/gonbui" ) func main() { fmt.Printf("Hello from joe/a!\n") b.Message() fmt.Printf("IsNotebook: %v\n", gonbui.IsNotebook) } $ cat go.mod module github.com/joe/a go 1.20 $ go work sync $ cat go.mod module github.com/joe/a go 1.20 $ cat go.work go 1.20 use ( . /home/janpf/work/b ) $ go get github.com/joe/a imports github.com/joe/b: cannot find module providing package github.com/joe/b ``` cheers On Tuesday, July 11, 2023 at 11:54:56 PM UTC+2 Howard C. Shaw III wrote: > I'm not suggesting that it would fix go get, but that it replaces it. Add > your extra third party reference, then do go work sync and it should > download that dependency. -- 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/641bb2fc-75b4-4049-a88d-5ec666220666n%40googlegroups.com.