mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 14:20:25 +08:00
15 lines
201 B
Go
15 lines
201 B
Go
|
|
package configs
|
||
|
|
|
||
|
|
import (
|
||
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestLoadAPIConfig(t *testing.T) {
|
||
|
|
config, err := LoadAPIConfig()
|
||
|
|
if err != nil {
|
||
|
|
t.Fatal(err)
|
||
|
|
}
|
||
|
|
t.Log(config)
|
||
|
|
}
|