github.com/lingyao2333/mo-zero@v1.4.1/core/service/serviceconf_test.go (about) 1 package service 2 3 import ( 4 "testing" 5 6 "github.com/lingyao2333/mo-zero/core/logx" 7 ) 8 9 func TestServiceConf(t *testing.T) { 10 c := ServiceConf{ 11 Name: "foo", 12 Log: logx.LogConf{ 13 Mode: "console", 14 }, 15 Mode: "dev", 16 } 17 c.MustSetUp() 18 }