first commit

This commit is contained in:
Vaala Cat
2024-02-02 23:21:43 +08:00
commit 0b86be3426
52 changed files with 4390 additions and 0 deletions

11
utils/file.go Normal file
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)
}