lib: Fix gofmt regression in golang 1.11.x
Golang has many exceptions to its "compatibility promise", including the gofmt output. The fact that they change it arbitrarily for things like this is absurd. (Remove the patch and run `gofmt` to see for yourself.) This change re-worked the comment, since include the `gofmt` suggested line break makes absolutely no sense, and is not convenient.
This commit is contained in:
@@ -25,8 +25,7 @@ import (
|
||||
|
||||
"github.com/purpleidea/mgmt/bindata"
|
||||
"github.com/purpleidea/mgmt/gapi"
|
||||
// these imports are so that GAPIs register themselves in init()
|
||||
_ "github.com/purpleidea/mgmt/lang"
|
||||
_ "github.com/purpleidea/mgmt/lang" // import so the GAPI registers
|
||||
_ "github.com/purpleidea/mgmt/langpuppet"
|
||||
_ "github.com/purpleidea/mgmt/puppet"
|
||||
_ "github.com/purpleidea/mgmt/yamlgraph"
|
||||
|
||||
Reference in New Issue
Block a user