You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
234 B
Go
19 lines
234 B
Go
4 years ago
|
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()
|
||
|
}
|