You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

532 B


imp is an opinionated import formatter

The order it follows is:

import (
    <this module's packages>
    <other module's packages>

imp includes three flags:

  • --write will write out the formatting rather than printing
  • --ignore reads a .impignore file for globs to include/exclude (.impignore by default)

.impignore format

The .impignore file follows a globber format, which closely resembles a traditional .gitignore file.