Documentation
¶
Overview ¶
Package strutil 收敛 core 内字符串小工具,消除 executor/service 重复实现。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizePathToken ¶ added in v0.9.0
SanitizePathToken 路径段安全化:去掉 / \ .. 与空格,防路径穿越。
func TruncateRunes ¶ added in v0.9.0
TruncateRunes 按字符(rune)截断。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.