镜像自地址
https://github.com/therootcompany/serviceman.git
已同步 2025-09-14 22:38:18 +00:00
12 行
245 B
Go
12 行
245 B
Go
package config
|
|
|
|
import "regexp"
|
|
|
|
var (
|
|
// used to remove comments from json
|
|
regexComments = regexp.MustCompile(`\/\/([\w\s\'].*)`)
|
|
|
|
// SafeVarName is used to remove special chars from paths
|
|
SafeVarName = regexp.MustCompile(`[^a-zA-Z0-9]`)
|
|
)
|