mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			268 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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())
 | 
						|
	}
 | 
						|
}
 |