tool directive and versioning

82 views
Skip to first unread message

Miki Tebeka

unread,
Aug 13, 2025, 9:21:42 AMAug 13
to golang-nuts
Hi,

Does anyone know why the go.mod "tool" directive do not allow specifying tool version?

This is OK

This is not OK


Thanks,
Miki

Def Ceb

unread,
Aug 13, 2025, 9:32:05 AMAug 13
to golang-nuts
When you add a tool dependency, you also get a require directicve with the version. The version is specified there.

--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/ead92fb2-0240-48f0-8b76-e7ede97be1ffn%40googlegroups.com.

Miki Tebeka

unread,
Aug 13, 2025, 9:45:47 AMAug 13
to golang-nuts
When you add a tool dependency, you also get a require directicve with the version. The version is specified there.
Ahhh! Missed that. Thanks! 
Reply all
Reply to author
Forward
0 new messages