fiximports

command module
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

This tool aims to properly format Go imports

Examples

  • fiximports - Fix all the Go files in the current directory
  • fiximports ./... - Fix all the Go files in the current directory and all sub directories
  • fiximports ./dir1/... - Fix all the Go files in the specific directory and all sub directories
  • fiximports file1.go file2.go - Fix only the supplied Go file(s)

Notes:

  • This tool does not call goimports (could be added; ping me if this would be useful)
  • This tool does not attempt to resolve missing or unnecessary deps

Documentation

Overview

Package main is the main package for fix imports

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL