goimports run on whole project using goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")

source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
This commit is contained in:
Renan DelValle 2018-01-02 17:12:05 -08:00
parent 1d91d3da09
commit abc542f81f
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
4 changed files with 8 additions and 4 deletions

View file

@ -16,8 +16,9 @@ package realis
import (
"encoding/json"
"github.com/pkg/errors"
"os"
"github.com/pkg/errors"
)
type Cluster struct {