package i18n import ( "git.noahlan.cn/noahlan/ntool/nfs" "strings" ) func filenameWithoutExt(path string) string { return strings.ReplaceAll(nfs.Name(path), nfs.Ext(path), "") }