1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 01:27:01 +00:00

stringutil: fix golint comment format error (#429)

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2023-11-12 13:21:27 -08:00
committed by GitHub
parent 85e1c2c7d7
commit 86d762ac88
2 changed files with 4 additions and 1 deletions

View File

@@ -32,8 +32,11 @@ simplify:
@gofmt -s -l -w $(SRC)
lint:
@echo "gofmt check..."
@test -z "$(shell gofmt -l . | tee /dev/stderr)" || echo "[WARN] Fix formatting issues with 'make fmt'"
@echo "golint check..."
@golint -set_exit_status $(PKGS)
@echo "go vet check..."
@go vet $(PKGS)
reflex:

View File

@@ -75,7 +75,7 @@ func MakePathPrefixer(prefix string) func(string) string {
}
}
// Test if a "s" string match a "p" pattern with wildcards (*, ?)
// MatchWithWildcards tests if a "s" string matches a "p" pattern with wildcards (*, ?)
func MatchWithWildcards(p string, s string) bool {
runeInput := []rune(s)
runePattern := []rune(p)