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:
3
Makefile
3
Makefile
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user