mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
19 lines
235 B
Go
19 lines
235 B
Go
package service
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
func TestServiceConf(t *testing.T) {
|
|
c := ServiceConf{
|
|
Name: "foo",
|
|
Log: logx.LogConf{
|
|
Mode: "console",
|
|
},
|
|
Mode: "dev",
|
|
}
|
|
c.MustSetUp()
|
|
}
|