#Go alias change documentation?

1 messages · Page 1 of 1 (latest)

grand ibex
#

I tried another module and it added the correct import. This time the module was named renovate instead of main. It's possible main confused my LSP

rugged spindle
#

@grizzled loom @pliant cosmos

grizzled loom
grand ibex
#

Well, maybe my LSP glitched out. I've seen it happen to gopls more times than I'd like to admit. I tried another module which was named main and this time it added correctly. I also have goimports setup. It's possible that glitched too.

I did find that I have to do a restart of the LSP after doing codegen especially for it to pick up the alias removals

raw flicker
#

You need to check with what’s in go.mod and follow the module’s file structure from there. Basically <package name>/internal/dagger.