first commit

This commit is contained in:
Vaala Cat committed 2024-02-03 00:49:45 +08:00
commit 0b86be3426
52 files changed
+4390

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package utils
import "os"
func GetFileContent(path string) string {
content, err := os.ReadFile(path)
if err != nil {
panic(err)
}
return string(content)
}