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
and github.com/rs/zerolog/log is not yet imported, and I save my code file, then gopls will think that I mean github.com/pingcap/log instead. Do others encounter this issue, and is there a way around it?
Thank you for your work on this library.
The text was updated successfully, but these errors were encountered:
nchelluri
changed the title
Question: is there a way to tweak goimports so that when I use the zerolog logger in my code, it imports the right package?
Question: is there a way to tweak gopls "organize imports" so that when I use the zerolog logger in my code, it imports the right package?
Aug 14, 2024
Simply, every time I write something like
and
github.com/rs/zerolog/log
is not yet imported, and I save my code file, then gopls will think that I meangithub.com/pingcap/log
instead. Do others encounter this issue, and is there a way around it?Thank you for your work on this library.
The text was updated successfully, but these errors were encountered: