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:
parent
1d91d3da09
commit
abc542f81f
4 changed files with 8 additions and 4 deletions
|
@ -16,8 +16,9 @@ package realis
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/pkg/errors"
|
||||
"os"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
type Cluster struct {
|
||||
|
|
|
@ -24,10 +24,11 @@ import (
|
|||
|
||||
"strings"
|
||||
|
||||
"log"
|
||||
|
||||
"github.com/paypal/gorealis"
|
||||
"github.com/paypal/gorealis/gen-go/apache/aurora"
|
||||
"github.com/paypal/gorealis/response"
|
||||
"log"
|
||||
)
|
||||
|
||||
var cmd, executor, url, clustersConfig, clusterName, updateId, username, password, zkUrl, hostList string
|
||||
|
|
|
@ -18,8 +18,9 @@ import (
|
|||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/paypal/gorealis"
|
||||
"os"
|
||||
|
||||
"github.com/paypal/gorealis"
|
||||
)
|
||||
|
||||
type URIJson struct {
|
||||
|
|
3
job.go
3
job.go
|
@ -15,8 +15,9 @@
|
|||
package realis
|
||||
|
||||
import (
|
||||
"github.com/paypal/gorealis/gen-go/apache/aurora"
|
||||
"strconv"
|
||||
|
||||
"github.com/paypal/gorealis/gen-go/apache/aurora"
|
||||
)
|
||||
|
||||
type Job interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue