Match is a very simple pattern matcher where '*' matches on any number characters and '?' matches on any one character.
go get -u github.com/tidwall/match
match.Match("hello", "*llo")
match.Match("jello", "?ello")
match.Match("hello", "h*o")
Josh Baker @tidwall
Match source code is available under the MIT License.