mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
17 lines
292 B
Go
17 lines
292 B
Go
package gdconf
|
|
|
|
import (
|
|
"hk4e/common/config"
|
|
"hk4e/pkg/logger"
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestInitGameDataConfig(t *testing.T) {
|
|
config.InitConfig("./application.toml")
|
|
logger.InitLogger("test", config.CONF.Logger)
|
|
InitGameDataConfig()
|
|
logger.LOG.Info("ok")
|
|
time.Sleep(time.Second)
|
|
}
|