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.
|
package icsconf
|
|
|
|
import (
|
|
"encoding/json"
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestGetModName(t *testing.T) {
|
|
conf, _ := OpenConfig("/home/icsbot/config/icsbot.xml", "/home/icsvc")
|
|
resultJson, _ := json.MarshalIndent(conf, "", " ")
|
|
fmt.Println(string(resultJson))
|
|
}
|