mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
18 lines
262 B
Go
18 lines
262 B
Go
package conf
|
|
|
|
import (
|
|
"log"
|
|
"strings"
|
|
"testing"
|
|
)
|
|
|
|
func TestConf_LoadFromPath(t *testing.T) {
|
|
c := New()
|
|
t.Log(c.LoadFromPath("../example/config.yml.example"))
|
|
}
|
|
|
|
func TestConf_Watch(t *testing.T) {
|
|
//c := New()
|
|
log.Println(strings.Split("aaaa", " "))
|
|
}
|