-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cmd/goversioninfo command-line app #1
Conversation
You are the man! Awesome changes. I like the cmd folder addition. I'll change the names so they don't have underscores. I copied the VS_ from the Microsoft Spec then then followed that convention for all structs, but I've rather follow Go conventions then Microsoft considering the VS_VERSIONINFO is not true C-language structure. For versioninfo.json: I need to think about that. Suggestions? |
I have no power left, so I leave the changes in README to another day / you. |
Amazing work! I'm going to go through this tonight! |
Add cmd/goversioninfo command-line app, separate out code, added constants for all the langid and charsetid, increased test coverage, fixed code using vet and lint
I made the additional changes we discussed. Let me know if there is anything else you can think of. |
Also, how come you don't show up as a contributor? Did I merge it correctly? |
Hi, I think you made a great job rewriting the README, and adding some needed 2015-01-24 14:48 GMT+01:00 Joseph Spurrier notifications@github.com:
|
Well, regardless, I appreciate all your help. I learned a lot from your code and I appreciate you taking the time to make the package awesome! Thanks!! |
Hi,
I've just copied your example to a command-line app,
plus made some functions return error, and check that error.
Plus cosmetic changes (go vet + golint), except that goling says we should not use names with underscores - but that's subjective, and I don't want to be rude.
The remaining big question is how should we fill the versioninfo.json, if not edited by hand?
I've thought the command-line app should get flags for each field in StringFileInfo struct, and overload that.
But I don't know whether this would be enough, or useful at all.
What's your opinion?