package
Version:
v0.0.0-...-85aee89
Opens a new window with list of versions in this module.
Published: Jun 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ant 路径匹配
func NewAntPathMatcher() *Ant
NewAntPathMatcher 实例化
Match 匹配
/** 匹配所有
/a/** 匹配 /a/b, /a, /a/b/c
/a/*/b 匹配 /a/c/b
/a/**/b 匹配 /a/c/b, /a/cs/d/b
该方法不处理 /a/**/b/**/c多个**的情况,该路径视为/a/**/c
Source Files
¶
Click to show internal directories.
Click to hide internal directories.