Add standard go files

This commit is contained in:
marshyski
2021-04-18 20:02:38 -04:00
parent 27cc952587
commit c4d9a31c4b
15 changed files with 690 additions and 1 deletions
Regular → Executable
View File
+674
View File
File diff suppressed because it is too large Load Diff
+15
View File
@@ -0,0 +1,15 @@
PACKAGES:=$(shell go list ./... | grep -v /vendor/)
default: lint
gofmt:
go fmt ./...
lint: gofmt
$(GOPATH)/bin/golint $(PACKAGES)
$(GOPATH)/bin/golangci-lint run
$(GOPATH)/bin/gosec -quiet -no-fail ./...
update-deps:
go get -u ./...
go mod tidy
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+1 -1
View File
@@ -1,3 +1,3 @@
module github.com/yeticloud/libdetectcloud
go 1.15
go 1.16
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File