[go-nuts] Re: Storing types in a map[string]type ?

2017-12-15 Thread jakdept
So, I've thought about this further - if I don't bother with the interfaces, I can make this simpler. I can convert between with just v1csv(object) just fine. And that . should work because it'll only be used in a client, and it should still be extendable. It would still be nice to store those

[go-nuts] Storing types in a map[string]type ?

2017-12-14 Thread jakdept
I'm writing a utility to import/export data into an API. I'd like to be able to accept multiple input/output formats, and support multiple commands. I was going to use kingpin for the flags/commands, and do a type format after that. My plan was to declare an interface with the methods I'm going