package
Version:
v2.0.1
Opens a new window with list of versions in this module.
Published: Jun 2, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ValidateOptionalSegments(path string)
ValidateOptionalSegments 验证可选参数规则
规则:
1. 可选参数只能在路径最后
2. 只能支持一个可选参数
Source Files
¶
Click to show internal directories.
Click to hide internal directories.