aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-09 22:42:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-09 22:42:03 -0700
commit6f8177979c1dac59902d435cd8d7def38f4ba4d1 (patch)
treed61860925d19a3446e26a98413d582162e7e8f75
parent518f0efcbea91949e1cacc5c0e5991e3b98e97c0 (diff)
downloadfatcat-6f8177979c1dac59902d435cd8d7def38f4ba4d1.tar.gz
fatcat-6f8177979c1dac59902d435cd8d7def38f4ba4d1.zip
tweaks
-rw-r--r--.gitignore1
-rw-r--r--golang/.gitignore1
-rw-r--r--golang/Gopkg.lock21
-rw-r--r--golang/README.md2
-rw-r--r--golang/TODO15
5 files changed, 33 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 0a06b39a..4a42de1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
*.sqlite3
*,cover
htmlcov/
+golang/fatcatd
*.o
*.a
diff --git a/golang/.gitignore b/golang/.gitignore
index 48b8bf90..0fe55f3e 100644
--- a/golang/.gitignore
+++ b/golang/.gitignore
@@ -1 +1,2 @@
vendor/
+coverage.txt
diff --git a/golang/Gopkg.lock b/golang/Gopkg.lock
index 049491d9..f5ff016e 100644
--- a/golang/Gopkg.lock
+++ b/golang/Gopkg.lock
@@ -140,6 +140,19 @@
revision = "9286f6d0e5c1ffc7cf2bda1d59291dc3c4f2f828"
[[projects]]
+ name = "github.com/go-pg/pg"
+ packages = [
+ ".",
+ "internal",
+ "internal/parser",
+ "internal/pool",
+ "orm",
+ "types"
+ ]
+ revision = "5b73ce88484575f3480edf393237f6bf79d5f166"
+ version = "v6.11.2"
+
+[[projects]]
branch = "master"
name = "github.com/hashicorp/hcl"
packages = [
@@ -163,6 +176,12 @@
version = "v1.4.0"
[[projects]]
+ branch = "master"
+ name = "github.com/jinzhu/inflection"
+ packages = ["."]
+ revision = "04140366298a54a039076d798123ffa108fff46c"
+
+[[projects]]
name = "github.com/magiconair/properties"
packages = ["."]
revision = "c3beff4c2358b44d0493c7dda585e7db7ff28ae6"
@@ -329,6 +348,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
- inputs-digest = "5d595b1536b9cb05d0ea9f9aa79e06d8b0851733059190260bbecf4d54108542"
+ inputs-digest = "22b7db2e7bce9c3b5a5b85e98dfead56dce992a11035235a7d854916782a19dd"
solver-name = "gps-cdcl"
solver-version = 1
diff --git a/golang/README.md b/golang/README.md
index 729cfd5d..667b9a2e 100644
--- a/golang/README.md
+++ b/golang/README.md
@@ -53,4 +53,4 @@ Install the go-swagger tool:
"Custom" server:
- swagger generate server -A fatcat -f ./fatcat-openapi2.yml --exclude-main
+ swagger generate server -A fatcat -f ./fatcat-openapi2.yml --exclude-main -t gen
diff --git a/golang/TODO b/golang/TODO
index 58526481..23284686 100644
--- a/golang/TODO
+++ b/golang/TODO
@@ -1,10 +1,15 @@
plan:
-- rename directory (fatcat/golang?)
-- "custom" swagger base command (not auto-generated)
+x rename directory (fatcat/golang?)
+x "custom" swagger base command (not auto-generated)
-> "main" wrapper pulling in libraries
-- some form of dependency management: dep
-- config
-- logging
+x some form of dependency management: dep
+x logging
+x config
+x sentry
- test framework
- database creation and access
+
+later:
+- cobra command line parsing? meh
+- metrics