Last active
July 30, 2022 01:17
-
-
Save wklken/31c2219fb97b2136dffcfc365b6846ed to your computer and use it in GitHub Desktop.
golang wildcard match
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use https://github.com/minio/pkg/tree/main/wildcard | |
import ( | |
"github.com/minio/pkg/wildcard" | |
) | |
matched := wildcard.Match(pattern, text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment