mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-13 21:07:22 +00:00
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:
parent
b2a41cf07c
commit
383a3aa1cd
9 changed files with 193 additions and 224 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue