Update to Go 1.18 and replace fnv-1a with xxhash (#158)

* Update modules and go 1.18

* Use xxhash instead of fnv-1a

* Update go version in dockerfile and github workflow
This commit is contained in:
muXxer
2022-04-25 14:37:22 +02:00
committed by GitHub
parent c53d8f8a0d
commit a95c028cb8
5 changed files with 104 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.17 as builder
FROM golang:1.18 as builder
WORKDIR /go/src/github.com/fhmq/hmq
COPY . .
RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' .