This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeAPI/internal/setup/sql.go
T

18 lines
268 B
Go

package setup
import (
_ "embed"
"encoding/json"
"github.com/iwind/TeaGo/logs"
)
//go:embed sql.json
var sqlData []byte
func init() {
err := json.Unmarshal(sqlData, LatestSQLResult)
if err != nil {
logs.Println("[ERROR]load sql failed: " + err.Error())
}
}