Skip to content

Commit

Permalink
Merge pull request #20 from incu6us/feature/improve
Browse files Browse the repository at this point in the history
docs added
  • Loading branch information
incu6us authored Aug 4, 2020
2 parents 8ffc88e + f8ab4f9 commit 286536c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Tool for Golang to sort goimports by 3 groups: std, general and project dependencies.
// It will help you to keep your code cleaner.
//
// Example:
// goimports-reviser -project-name github.com/incu6us/goimports-reviser -file-path ./reviser/reviser.go -rm-unused
//
// Input:
// import (
// "log"
//
// "github.com/incu6us/goimports-reviser/testdata/innderpkg"
//
// "bytes"
//
// "github.com/pkg/errors"
// )
//
// Output:
//
// import (
// "bytes"
// "log"
//
// "github.com/pkg/errors"
//
// "github.com/incu6us/goimports-reviser/testdata/innderpkg"
// )
//
// If you need to set package names explicitly(in import declaration), you can use additional option `-set-alias`.
//
// More:
//
// goimports-reviser -h
//
package main

0 comments on commit 286536c

Please sign in to comment.