From 6f8177979c1dac59902d435cd8d7def38f4ba4d1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 May 2018 22:42:03 -0700 Subject: tweaks --- .gitignore | 1 + golang/.gitignore | 1 + golang/Gopkg.lock | 21 ++++++++++++++++++++- golang/README.md | 2 +- golang/TODO | 15 ++++++++++----- 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 @@ -139,6 +139,19 @@ packages = ["."] 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" @@ -162,6 +175,12 @@ revision = "c6ca198ec95c841fdb89fc0de7496fed11ab854e" version = "v1.4.0" +[[projects]] + branch = "master" + name = "github.com/jinzhu/inflection" + packages = ["."] + revision = "04140366298a54a039076d798123ffa108fff46c" + [[projects]] name = "github.com/magiconair/properties" packages = ["."] @@ -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 -- cgit v1.2.3