Create a type for a section in config
Closed this issue · 2 comments
Thomasdezeeuw commented
Something like this:
type Config map[string]Section
type Section map[string]string
Deleted user commented
What's the advantage over map[string]map[string]string
?
Thomasdezeeuw commented
Make it shorter to write and I needed it some project I was working, although I don't recall why anymore.