aboutsummaryrefslogtreecommitdiffstats
path: root/golang
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-09 23:40:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-09 23:40:32 -0700
commitc4a7f51bbf6e157fbf32ef93886b935ea11fa0e2 (patch)
tree261afe07f307f948463f56d44f8a2811a313c514 /golang
parentc5f0e88700ee11be7343ff11bcddf3c9a2a28486 (diff)
downloadfatcat-c4a7f51bbf6e157fbf32ef93886b935ea11fa0e2.tar.gz
fatcat-c4a7f51bbf6e157fbf32ef93886b935ea11fa0e2.zip
fix --version
Diffstat (limited to 'golang')
-rw-r--r--golang/TODO2
-rw-r--r--golang/cmd/fatcatd/root.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/golang/TODO b/golang/TODO
index 23284686..a749cb79 100644
--- a/golang/TODO
+++ b/golang/TODO
@@ -7,9 +7,9 @@ x some form of dependency management: dep
x logging
x config
x sentry
+x cobra command line parsing?
- test framework
- database creation and access
later:
-- cobra command line parsing? meh
- metrics
diff --git a/golang/cmd/fatcatd/root.go b/golang/cmd/fatcatd/root.go
index 8c1bc586..d4c7f161 100644
--- a/golang/cmd/fatcatd/root.go
+++ b/golang/cmd/fatcatd/root.go
@@ -18,6 +18,7 @@ var rootCmd = &cobra.Command{
Use: "fatcatd",
Short: "REST API Server",
Long: "A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata",
+ Version: "0.1.0",
}
func init() {