💾 Archived View for freeshell.de › tldr › goimports.gmi captured on 2023-07-10 at 14:36:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

goimports

Updates Go import lines, adding missing ones and removing unreferenced ones.

More information.

goimports {file}.go
goimports -w {file}.go
goimports -w -d {file}.go
goimports -local {path/to/package} {file}.go
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY