grconfig/grconfig_test.go

13 lines
176 B
Go
Raw Normal View History

2020-04-01 10:55:07 +08:00
package grconfig
import (
"log"
2020-04-03 11:21:51 +08:00
"lot.gaore.com/library/grconfig"
2020-04-01 10:55:07 +08:00
"testing"
)
2020-04-03 11:21:51 +08:00
func TestNew(t *testing.T) {
gr := grconfig.New("conf/")
log.Println(gr.String("test.a"))
2020-04-01 10:55:07 +08:00
}