go-zero/core/service/serviceconf_test.go

19 lines
235 B
Go
Raw Normal View History

2021-02-11 23:48:19 +08:00
package service
import (
"testing"
"github.com/zeromicro/go-zero/core/logx"
2021-02-11 23:48:19 +08:00
)
func TestServiceConf(t *testing.T) {
c := ServiceConf{
Name: "foo",
Log: logx.LogConf{
Mode: "console",
},
Mode: "dev",
}
c.MustSetUp()
}