This commit is contained in:
cdle
2021-10-01 21:06:21 +08:00
parent add9dfe913
commit dd7cde419a
+1 -1
View File
@@ -24,7 +24,7 @@ type Function struct {
Cron string
}
var pname = regexp.MustCompile(`/([^/\s]+)^`).FindStringSubmatch(os.Args[0])[1]
var pname = regexp.MustCompile(`/([^/\s]+)$`).FindStringSubmatch(os.Args[0])[1]
var name = func() string {
return sillyGirl.Get("name", "傻妞")