go-zero/core/service/serviceconf_test.go
2021-02-11 23:48:19 +08:00

19 lines
234 B
Go

package service
import (
"testing"
"github.com/tal-tech/go-zero/core/logx"
)
func TestServiceConf(t *testing.T) {
c := ServiceConf{
Name: "foo",
Log: logx.LogConf{
Mode: "console",
},
Mode: "dev",
}
c.MustSetUp()
}