🐛 fix: 修复余额的问题

This commit is contained in:
MartialBE
2023-12-02 19:54:21 +08:00
parent 58fc40a744
commit c97c8a0f65
14 changed files with 158 additions and 37 deletions

View File

@@ -6,6 +6,8 @@ import (
"log"
"os"
"path/filepath"
"github.com/joho/godotenv"
)
var (
@@ -23,6 +25,11 @@ func printHelp() {
}
func init() {
// 加载.env文件
err := godotenv.Load()
if err != nil {
SysLog("failed to load .env file: " + err.Error())
}
flag.Parse()
if *PrintVersion {