clagraff / argparse

A Golang argument parser for command line arguments.
MIT License
24 stars 4 forks source link

Switch Namespace type #31

Closed clagraff closed 7 years ago

clagraff commented 7 years ago

I would suggest switching the Namespace struct from:

type Namespace struct {
    Mapping map[string]interface{}
}

to the more simple structure of:

type Namespace map[string]interface{}

as there is no real usage for having an extra layer between the user and the parsed data.

clagraff commented 7 years ago

Gonna take this one on.