going over the documentation and generating most of the code
I have a few questions
1. GA uses the presence of a property to determine whether it's set or
not. So for example, with boolean values, there's actually true, false and
unset. This makes it difficult when coming into Go land since bools must be
either true or false - there is no unset. Should I *a)* define all
fields as a string (where the empty string means unset) or should I *b) *define
setters for every field and maintain a map of set fields (this kind of
ruins the simple API though)?
2. Am I using *go generate* correctly? comments?
3. The repo name is different from the package name (ga), is this Go
heresy? Should i just use jpillora/ga? It's just not very descriptive...
4. I'm using two packages in my generation program, is it possible to
prevent users of this package from auto fetching these? (i.e. is there
Node.js "devDependencies" in Go?)
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.