From Peter Sanchez to ~netlandish/links-dev
Applied. To git@git.code.netlandish.com:~netlandish/links d329c96..8038d7f master -> master
From Peter Sanchez to ~netlandish/links-dev
- Removing interface{} from codebase - Modernizing some loops --- api/directives/directives.go | 10 +- api/graph/model/cursor.go | 2 +- cmd/global.go | 2 +- core/routes.go | 2 +- pinboard/routes_test.go | 256 +++++++++++++++++------------------ valid/valid.go | 25 ++-- 6 files changed, 147 insertions(+), 150 deletions(-) diff --git a/api/directives/directives.go b/api/directives/directives.go index 3faabcf..fd58eb8 100644 --- a/api/directives/directives.go [message trimmed]
From Peter Sanchez to ~netlandish/links-dev
Applied. To git@git.code.netlandish.com:~netlandish/links fc98b6e..d329c96 master -> master
From Peter Sanchez to ~netlandish/links-dev
Changelog-updated: The `/pinboard/tags/get` endpoint will now fetch all tags via cursor pagination --- pinboard/routes.go | 58 +++++++++++++++++++++++++++++++++------------- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/pinboard/routes.go b/pinboard/routes.go index 69c1311..5393056 100644 --- a/pinboard/routes.go +++ b/pinboard/routes.go @@ -781,31 +781,57 @@ func (s *Service) TagsGet(c echo.Context) error { // Prepare GraphQL query type GraphQLResponse struct { GetTags struct { [message trimmed]
From Peter Sanchez to ~netlandish/links-dev
Applied. To git@git.code.netlandish.com:~netlandish/links a440a0d..fc98b6e master -> master
From Peter Sanchez to ~netlandish/links-dev
--- config.example.ini | 2 +- go.mod | 12 ++++++------ go.sum | 24 ++++++++++++------------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/config.example.ini b/config.example.ini index 98a7864..bc0e4fb 100644 --- a/config.example.ini +++ b/config.example.ini @@ -50,7 +50,7 @@ domain=127.0.0.1:8000 # postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...] # If host is unix file, use "host" qs variable connection-string = postgresql://psanchez@/links?host=/var/run/postgresql [message trimmed]
From Peter Sanchez to ~netlandish/links-dev
Applied. To git@git.code.netlandish.com:~netlandish/links 6973ac0..a440a0d master -> master
From Peter Sanchez to ~netlandish/links-dev
--- cmd/api/main.go | 2 +- cmd/domains/main.go | 2 +- cmd/links/main.go | 2 +- cmd/list/main.go | 2 +- cmd/short/main.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/api/main.go b/cmd/api/main.go index 8e935e1..ab6ee51 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -129,7 +129,7 @@ func run() error { SetWorkerPoolFunc(cmd.GetWorkerPoolCount). [message trimmed]
From Peter Sanchez to ~netlandish/links-dev
Applied. To git@git.code.netlandish.com:~netlandish/links a22df5a..6973ac0 master -> master
From Peter Sanchez to ~netlandish/links-dev
Potential issues as this moves the application to the new DBI interface that provdes a single (by default) transaction across the entire request cycle. Changelog-updated: gobwebs bump and move to DBI interface. --- cmd/test/helpers.go | 4 ++-- go.mod | 12 ++++++------ go.sum | 24 ++++++++++++------------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/cmd/test/helpers.go b/cmd/test/helpers.go index 36feda8..6737c32 100644 --- a/cmd/test/helpers.go [message trimmed]