gifted-autumn-61196
05/09/2023, 8:53 PMwitty-crayon-22786
05/09/2023, 9:15 PMgo.work
files are not yet supported (if that’s what you’re referring to?)fast-nail-55400
05/10/2023, 4:56 PMgo.mod
replace
directive with a local path replacement.go_mod
target (and related packages) as its own separate entity in a similar manner to resolves in Python and JVM.go_mod
resolves. The protobuf target has a go_mod_address
field which can be used with the paramarize
built-in much how it works for the resolve
field.go_package
does not currently have a go_mod_address
field so that technique has no way to work (and would need lots of testing in any event).gifted-autumn-61196
05/10/2023, 8:36 PMdependency
field, i'm assuming that if i remove the replace from the go.mod and add a dependency myself, it will still fail?fast-nail-55400
05/10/2023, 8:46 PMgo.mod
files directly. gazelle is generally used to maintain the BUILD.bazel
files based on them, but rules_go
doesn't know about go.mod
files.go
toolchain a little closer than Bazel does, although it isn't the same in places as you have encountered.