diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-19 12:44:16 +0200 |
---|---|---|
committer | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-19 12:44:16 +0200 |
commit | 57b1a3d5228872eba6589b0ae38ceccabd0f3344 (patch) | |
tree | d29cd07b9144ddb7a7d1b66eb820693798f0bc32 /filetree | |
parent | 09296c0214c4cc7477fe53bc79c54805899c6d19 (diff) |
Fixed import order using goimports
Probably just prevents future merge conflicts.
Diffstat (limited to 'filetree')
-rw-r--r-- | filetree/efficiency.go | 3 | ||||
-rw-r--r-- | filetree/node.go | 3 | ||||
-rw-r--r-- | filetree/tree.go | 5 | ||||
-rw-r--r-- | filetree/types.go | 3 |
4 files changed, 9 insertions, 5 deletions
diff --git a/filetree/efficiency.go b/filetree/efficiency.go index 5d02241..e0b21cf 100644 --- a/filetree/efficiency.go +++ b/filetree/efficiency.go @@ -2,8 +2,9 @@ package filetree import ( "fmt" - "github.com/sirupsen/logrus" "sort" + + "github.com/sirupsen/logrus" ) // Len is required for sorting. diff --git a/filetree/node.go b/filetree/node.go index 7a2d2cf..48fa6e4 100644 --- a/filetree/node.go +++ b/filetree/node.go @@ -3,10 +3,11 @@ package filetree import ( "archive/tar" "fmt" - "github.com/sirupsen/logrus" "sort" "strings" + "github.com/sirupsen/logrus" + "github.com/dustin/go-humanize" "github.com/fatih/color" "github.com/phayes/permbits" diff --git a/filetree/tree.go b/filetree/tree.go index 46309ce..b225224 100644 --- a/filetree/tree.go +++ b/filetree/tree.go @@ -2,10 +2,11 @@ package filetree import ( "fmt" - "github.com/google/uuid" - "github.com/sirupsen/logrus" "sort" "strings" + + "github.com/google/uuid" + "github.com/sirupsen/logrus" ) const ( diff --git a/filetree/types.go b/filetree/types.go index d288c4e..e2f406b 100644 --- a/filetree/types.go +++ b/filetree/types.go @@ -1,8 +1,9 @@ package filetree import ( - "github.com/google/uuid" "os" + + "github.com/google/uuid" ) // FileTree represents a set of files, directories, and their relations. |