Goimports Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones. Install $ go install golang.org/x/tools/cmd/goimports@latest See also go gofmt goimports staticcheck Favorite site goimports command - golang.org/x/tools/cmd/goimports - Go Packages 이 문서를 가리키는 문서 Go Gofmt Staticcheck lastmod 2026-01-21created 2026-01-21author Zer0 sitemap