Thomasdezeeuw/ini

Create a type for a section in config

Closed this issue · 2 comments

Something like this:

type Config map[string]Section

type Section map[string]string

What's the advantage over map[string]map[string]string?

Make it shorter to write and I needed it some project I was working, although I don't recall why anymore.