aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-02-19 20:59:01 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-02-19 22:12:32 +0200
commit4bafdd8e46e0e1991f443173c88fc8f896cac7da (patch)
tree7af2237936283ae47cc6f2f1b8e555fe8c2336ff /go.mod
parentabout: show commit id (diff)
downloadsoko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.tar.gz
soko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.tar.bz2
soko-4bafdd8e46e0e1991f443173c88fc8f896cac7da.zip
upgrade to go-pg v10
- update go dependencies - update to not use helper functions (removed) - add some missing `rel` directives to models (adding all other creates issues with foreign keys) - `orm.Query` -> `pg.Query` Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod30
1 files changed, 14 insertions, 16 deletions
diff --git a/go.mod b/go.mod
index 5a38093..24dbe9b 100644
--- a/go.mod
+++ b/go.mod
@@ -5,25 +5,23 @@ go 1.18
require (
github.com/99designs/gqlgen v0.11.3
github.com/go-git/go-git/v5 v5.2.0
- github.com/go-pg/pg v8.0.6+incompatible
- github.com/go-pg/pg/v9 v9.1.3
+ github.com/go-pg/pg v8.0.7+incompatible
+ github.com/go-pg/pg/v10 v10.11.0
github.com/gorilla/feeds v1.1.1
github.com/jasonlvhit/gocron v0.0.1
github.com/prometheus/client_golang v1.8.0
- github.com/vektah/gqlparser/v2 v2.0.1
github.com/ulikunitz/xz v0.5.11
+ github.com/vektah/gqlparser/v2 v2.0.1
)
require (
github.com/agnivade/levenshtein v1.0.3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
- github.com/codemodus/kace v0.5.1 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.0.0 // indirect
- github.com/go-pg/urlstruct v0.3.0 // indirect
- github.com/go-pg/zerochecker v0.1.1 // indirect
+ github.com/go-pg/zerochecker v0.2.0 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/gorilla/websocket v1.2.0 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
@@ -37,17 +35,17 @@ require (
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.14.0 // indirect
github.com/prometheus/procfs v0.2.0 // indirect
- github.com/segmentio/encoding v0.1.10 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
- github.com/vmihailenco/bufpool v0.1.5 // indirect
- github.com/vmihailenco/msgpack/v4 v4.3.7 // indirect
- github.com/vmihailenco/tagparser v0.1.1 // indirect
+ github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
+ github.com/vmihailenco/bufpool v0.1.11 // indirect
+ github.com/vmihailenco/msgpack/v5 v5.3.4 // indirect
+ github.com/vmihailenco/tagparser v0.1.2 // indirect
+ github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xanzy/ssh-agent v0.2.1 // indirect
- golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
- golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect
- golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211 // indirect
- google.golang.org/appengine v1.6.5 // indirect
- google.golang.org/protobuf v1.23.0 // indirect
+ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
+ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
+ golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7 // indirect
+ google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
- mellium.im/sasl v0.2.1 // indirect
+ mellium.im/sasl v0.3.1 // indirect
)