|
|
|
|
|
by randomdata
3596 days ago
|
|
Are those really idiomatic examples though? For instance, without changing too much, you could implement scrapeProfile like this: https://play.golang.org/p/sP34n9acy7 I think that reads quite nicely, although I'm sure someone else can do even better. If you modified dumpToCSV to take an interface instead of the concrete type, you wouldn't even have to prepare the user structure. You could pass in the vcard directly. |
|
Also the elixir-lang Slack channel is just full of incredibly nice people. :P