package optparse const ( typeBool optionType = iota + 1 typeBytesize typeDuration typeFloat typeInt typeIntSlice typeInt64 typeString typeStringSlice typeTime typeUint64 ) type option struct { comp Completer defined bool desc string flag string hide bool label string required bool typ optionType val interface{} } type optionType uint8