Commit of all existing code.

This commit is contained in:
2024-12-06 11:55:31 -07:00
commit 1f7234997b
17 changed files with 498 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package utils
import (
"path/filepath"
"strings"
)
func FileBasename(path string) string {
return strings.TrimSuffix(filepath.Base(path), filepath.Ext(path))
}