File tree 6 files changed +9
-25
lines changed 6 files changed +9
-25
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ linters:
21
21
- errorlint
22
22
- ifshort
23
23
- paralleltest
24
+ - interfacer
25
+ - golint
26
+ - maligned
27
+ - scopelint
24
28
25
29
26
30
# 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
9
9
SHELL =/bin/bash
10
10
.SHELLFLAGS =-c -eo pipefail
11
11
12
- export GOPRIVATE =*.f5net.com,gitlab.com/f5
13
- export GOFLAGS=-mod =vendor
14
-
15
12
# ######################################
16
13
# # Local set up.
17
14
# ######################################
@@ -37,9 +34,8 @@ deps-upgrade:
37
34
# ######################################
38
35
# # Tests, codegen, lint and format.
39
36
# ######################################
40
-
41
37
fmt : ; $(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/*" )
43
39
44
40
test : fmt ; $(info Running unit tests...) @
45
41
mkdir -p $(RESULTS_DIR )
@@ -99,9 +95,3 @@ clean-force: clean; $(info Cleaning everything...) @
99
95
rm -rf $(VENDOR_DIR ) /
100
96
rm -rf bin/
101
97
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 (
11
11
" fmt"
12
12
" os"
13
13
14
- " gitlab .com/f5/nginx /crossplane-go"
14
+ " github .com/nginxinc /crossplane-go"
15
15
)
16
16
17
17
func main () {
@@ -43,7 +43,7 @@ import (
43
43
" io/ioutil"
44
44
" os"
45
45
46
- " gitlab .com/f5/nginx /crossplane-go"
46
+ " github .com/nginxinc /crossplane-go"
47
47
)
48
48
49
49
func 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
2
2
3
3
go 1.15
4
4
Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
"testing"
6
6
7
- . "gitlab .com/f5/nginx /crossplane-go"
7
+ . "github .com/nginxinc /crossplane-go"
8
8
)
9
9
10
10
//nolint:funlen
You can’t perform that action at this time.
0 commit comments