mirror of
https://github.com/itchyny/mmv.git
synced 2026-02-03 19:43:25 +08:00
add package comment and enable all checks of staticcheck
This commit is contained in:
parent
8d31a98aa7
commit
49d37b4903
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -45,7 +45,7 @@ test: build
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: $(GOBIN)/staticcheck
|
lint: $(GOBIN)/staticcheck
|
||||||
go vet ./...
|
go vet ./...
|
||||||
staticcheck ./...
|
staticcheck -checks all ./...
|
||||||
|
|
||||||
$(GOBIN)/staticcheck:
|
$(GOBIN)/staticcheck:
|
||||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
|
|
||||||
1
mmv.go
1
mmv.go
|
|
@ -1,3 +1,4 @@
|
||||||
|
// Package mmv provides a method to rename multiple files.
|
||||||
package mmv
|
package mmv
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue