File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 5454 - run :
5555 name : " Run benchstat"
5656 command : make benchstat
57+ - run :
58+ name : " Run govulncheck"
59+ command : make govulncheck
5760 - run :
5861 name : Build go
5962 command : go build
Original file line number Diff line number Diff line change 2222ifeq ($(shell command -v benchstat 2> /dev/null) ,)
2323 go install golang.org/x/perf/cmd/benchstat@latest
2424endif
25+ ifeq ($(shell govulncheck ./... 2> /dev/null) ,)
26+ go install golang.org/x/vuln/cmd/govulncheck@latest
27+ endif
2528
2629.PHONY : gofmt
2730gofmt : # # Run gofmt.
@@ -47,6 +50,10 @@ staticcheck: ## Run staticcheck.
4750gosec : # # Run gosec.
4851 gosec -exclude-dir=_examples ./...
4952
53+ .PHONY : govulncheck
54+ govulncheck : # # Run govulncheck.
55+ govulncheck ./...
56+
5057.PHONY : test
5158test : # # Run tests.
5259 go test -v -race ./...
Original file line number Diff line number Diff line change @@ -33,10 +33,13 @@ This logo was created by [gopherize.me](https://gopherize.me/gopher/d654ddf2b81c
3333- [ Design] ( #design )
3434- [ Contribution] ( #contribution )
3535- [ Sponsor] ( #sponsor )
36+ - [ Stargazers] ( #stargazers )
37+ - [ Forkers] ( #forkers )
3638- [ License] ( #license )
3739 - [ Author] ( #author )
3840
3941# Features
42+ - Go1.20 >= 1.16
4043- Simple data structure based on trie tree
4144- Lightweight
4245 - Lines of codes: 2428
You can’t perform that action at this time.
0 commit comments