You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Go 1.16, the go command prints error messages containing suggested commands to fix missing imports.
$ go list example.com/missing
no required module provides package example.com/missing; try 'go get -d example.com/missing' to add it
We should remove the -d flag from these messages. The -d flag is not essential to the operation, its meaning is not obvious to many people, and we're planning to deprecate it and make it a no-op in a future release.
The text was updated successfully, but these errors were encountered:
In Go 1.16, the
go
command prints error messages containing suggested commands to fix missing imports.We should remove the
-d
flag from these messages. The-d
flag is not essential to the operation, its meaning is not obvious to many people, and we're planning to deprecate it and make it a no-op in a future release.The text was updated successfully, but these errors were encountered: