Skip to content

Commit

Permalink
docs added
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us committed Aug 4, 2020
1 parent caf65e7 commit e3b5c68
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 e3b5c68

Please sign in to comment.