On Thu, Oct 19, 2023 at 8:31 PM Pratik Tamgole <pratiktamg...@gmail.com> wrote: > > When I use packages, any packages in general, how does the import("fmt") line > correct itself to include the used packages in the program? What tool is > implemented here, I want to put the same in my editor.
https://pkg.go.dev/golang.org/x/tools/cmd/goimports Ian -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXh9sCOB4K9tjiDEwRrU3dprwbZHsSwkFq0H8vPQFi56Q%40mail.gmail.com.