Replies: 1 comment
-
@jurisevo On VS Code, add this to your {
"gopls": {
"importShortcut": "Definition"
}
} Alternatively, you can remove the experimental package by running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have this annoying issue when organizing imports will always prefer slog from
"golang.org/x/exp/slog"
instead of standard library. The go version ingo.mod
statesgo 1.21.0
so I have a reason to believe thatlog/slog
should have priority in this case. I have no idea if this is a bug or configurable behavior, at least I have not found anything related to specific preferences when it comes to package imports.Any ideas or tips how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions