mirror of
https://github.com/netbirdio/libdetectcloud.git
synced 2026-05-22 17:09:55 -07:00
Add standard go files
This commit is contained in:
Regular → Executable
@@ -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
@@ -1,3 +1,3 @@
|
||||
module github.com/yeticloud/libdetectcloud
|
||||
|
||||
go 1.15
|
||||
go 1.16
|
||||
|
||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user