Update list and get commands to use better choosing strategy;

refactor Makefile to use go mod vendoring and docker caching
This commit is contained in:
Mitchell 2019-06-01 13:32:11 -07:00
parent b2a41cf07c
commit 383a3aa1cd
9 changed files with 193 additions and 224 deletions

View file

@ -31,11 +31,6 @@ func main() {
jsonLogs = flag.Bool("json-logs", false, "enables json logging")
port = flag.String("port", "8080", "specify the port to listen on")
verbose = flag.Bool("v", false, "be more verbose")
// tableName = flag.String(
// "credential-table-name",
// "selfpass-credential",
// "specify the credential table name on AWS",
// )
)
flag.Parse()
@ -57,7 +52,6 @@ func main() {
ClientAuth: tls.RequireAndVerifyClientCert,
})
// db := repositories.NewDynamoTable(*tableName)
db, err := repositories.NewRedisConn("tcp", "redis:6379", 2)
check(err)