File tree Expand file tree Collapse file tree 6 files changed +9
-25
lines changed Expand file tree Collapse file tree 6 files changed +9
-25
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ linters:
2121 - errorlint
2222 - ifshort
2323 - paralleltest
24+ - interfacer
25+ - golint
26+ - maligned
27+ - scopelint
2428
2529
2630# Run options
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ LINT_BIN := ./bin/golangci-lint
99SHELL =/bin/bash
1010.SHELLFLAGS =-c -eo pipefail
1111
12- export GOPRIVATE =*.f5net.com,gitlab.com/f5
13- export GOFLAGS=-mod =vendor
14-
1512# ######################################
1613# # Local set up.
1714# ######################################
@@ -37,9 +34,8 @@ deps-upgrade:
3734# ######################################
3835# # Tests, codegen, lint and format.
3936# ######################################
40-
4137fmt : ; $(info Running goimports...) @
42- @goimports --local gitswarm.f5net.com/indigo,gitlab.com/f5 - w -e $$(find . -type f -name '*.go' -not -path "./vendor/*" )
38+ @goimports -w -e $$(find . -type f -name '*.go' -not -path "./vendor/*" )
4339
4440test : fmt ; $(info Running unit tests...) @
4541 mkdir -p $(RESULTS_DIR )
@@ -99,9 +95,3 @@ clean-force: clean; $(info Cleaning everything...) @
9995 rm -rf $(VENDOR_DIR ) /
10096 rm -rf bin/
10197 rm -f go.sum
102- go clean -cache
103- go clean -modcache
104- go clean -testcache
105-
106- images : build-linux
107- docker build --rm --no-cache -t $(DOCKER_REGISTRY ) /$(PACKAGE ) :$(DOCKER_TAG ) -f Dockerfile .
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 " fmt"
1212 " os"
1313
14- " gitlab .com/f5/nginx /crossplane-go"
14+ " github .com/nginxinc /crossplane-go"
1515)
1616
1717func main () {
@@ -43,7 +43,7 @@ import (
4343 " io/ioutil"
4444 " os"
4545
46- " gitlab .com/f5/nginx /crossplane-go"
46+ " github .com/nginxinc /crossplane-go"
4747)
4848
4949func main () {
Original file line number Diff line number Diff line change 1- module gitlab .com/f5/nginx /crossplane-go
1+ module github .com/nginxinc /crossplane-go
22
33go 1.15
44
Original file line number Diff line number Diff line change 44 "encoding/json"
55 "testing"
66
7- . "gitlab .com/f5/nginx /crossplane-go"
7+ . "github .com/nginxinc /crossplane-go"
88)
99
1010//nolint:funlen
You can’t perform that action at this time.
0 commit comments