mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
读取角色配置表
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user