diff options
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/argv.custom.go b/argv.custom.go new file mode 100644 index 0000000..62c494a --- /dev/null +++ b/argv.custom.go @@ -0,0 +1,20 @@ +package main + +/* + this parses the command line arguements +*/ + +// are sent via -ldflags at buildtime +var VERSION string +var BUILDTIME string + +var APPNAME string = "going2git" + +func (a args) Description() string { + return ` +This is a demo of git2go to show how it works. + +Actually, I don't know how to use libgit2 or git2go yet so really this is just +an example of how to compile something against it. +` +} |
