From c5661ed3034d912a22f642326cea859969daba4e Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 28 Aug 2019 23:22:36 -0500 Subject: Run 'make format' with latest version of goimports This fixes a CI failure, caused by goimports changing how it formats the imports. --- filesystem/mountpoint.go | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'filesystem') diff --git a/filesystem/mountpoint.go b/filesystem/mountpoint.go index 991a573..7ef91ce 100644 --- a/filesystem/mountpoint.go +++ b/filesystem/mountpoint.go @@ -22,8 +22,16 @@ package filesystem import ( + "fmt" "io/ioutil" + "log" "os" + "path/filepath" + "sort" + "strings" + "sync" + + "github.com/pkg/errors" ) /* @@ -35,17 +43,6 @@ const char* read_mode = "r"; */ import "C" -import ( - "fmt" - "log" - "path/filepath" - "sort" - "strings" - "sync" - - "github.com/pkg/errors" -) - var ( // These maps hold data about the state of the system's mountpoints. mountsByPath map[string]*Mount -- cgit v1.2.3