diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-02-19 20:59:01 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-02-19 22:12:32 +0200 |
commit | 4bafdd8e46e0e1991f443173c88fc8f896cac7da (patch) | |
tree | 7af2237936283ae47cc6f2f1b8e555fe8c2336ff /Dockerfile | |
parent | about: show commit id (diff) | |
download | soko-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 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ FROM golang:1.19.3 AS builder WORKDIR /go/src/soko COPY . /go/src/soko -RUN go get github.com/go-pg/pg/v9 +RUN go get github.com/go-pg/pg/v10 RUN go get github.com/mcuadros/go-version RUN go get github.com/ulikunitz/xz RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin . |