You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was expecting test.g3.o1.order to return 1. Mind you the code does not raise an error now but it also does not return a correct value. As such i was not sure if this is supported or no ?
test.g1={
o1 {
order = 1
}
}
test.g2 = {
o2 {
order = 2
}
}
test.g3 = ${test.g1}
test.g3 = {
o2 {
order = 2
}
}
//or another more eaiser syntax way
test.g3 = ${test.g1} {
o2 {
order = 2
}
}
func TestInheritance(t *testing.T) {
conf := LoadConfig("tests/t3.conf")
fmt.Println("test.g3:", conf.GetInt64("test.g3.o1.order"))
}
Thanks !
The text was updated successfully, but these errors were encountered:
I was expecting
test.g3.o1.order
to return 1. Mind you the code does not raise an error now but it also does not return a correct value. As such i was not sure if this is supported or no ?Thanks !
The text was updated successfully, but these errors were encountered: