Marshalling and Unmarshalling structs to config file #1376
Unanswered
williambrode
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there some good way to marshall/unmarshall a struct to the config file? I'd like to take something like:
And be able to write the map to the config file. Trying this with .Set() gives me
cannot convert type Foo to Tree
but there should be some way to do this using reflection right?Beta Was this translation helpful? Give feedback.
All reactions