From e2a66b52b82d093888d548a03aea9074cd879385 Mon Sep 17 00:00:00 2001 From: lz1998 <875543533@qq.com> Date: Tue, 24 Aug 2021 01:20:14 +0800 Subject: [PATCH] go up --- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- go.mod | 18 +++++++++++++++--- go.sum | 6 ++---- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 121c901..ce14c7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.16.2' + go-version: '1.17' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/Dockerfile b/Dockerfile index 85219c8..f480a2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16-alpine AS gmc_builder +FROM golang:1.17-alpine AS gmc_builder RUN go env -w GO111MODULE=auto \ && go env -w CGO_ENABLED=0 \ diff --git a/go.mod b/go.mod index df181ef..0522ca5 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/ProtobufBot/Go-Mirai-Client -go 1.16 +go 1.17 require ( - github.com/Mrs4s/MiraiGo v0.0.0-20210813074820-b8399fa706dc + github.com/Mrs4s/MiraiGo v0.0.0-20210819142722-38916542a3eb github.com/fanliao/go-promise v0.0.0-20141029170127-1890db352a72 github.com/gin-gonic/gin v1.7.2 github.com/go-playground/validator/v10 v10.8.0 // indirect @@ -21,7 +21,6 @@ require ( github.com/sirupsen/logrus v1.8.1 github.com/smartystreets/goconvey v1.6.4 // indirect github.com/t-tomalak/logrus-easy-formatter v0.0.0-20190827215021-c074f06c5816 - github.com/ugorji/go v1.2.6 // indirect github.com/zserge/lorca v0.1.10 golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect @@ -29,4 +28,17 @@ require ( gopkg.in/yaml.v2 v2.4.0 // indirect ) +require ( + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/go-playground/locales v0.13.0 // indirect + github.com/go-playground/universal-translator v0.17.0 // indirect + github.com/leodido/go-urn v1.2.1 // indirect + github.com/modern-go/reflect2 v1.0.1 // indirect + github.com/ugorji/go/codec v1.2.6 // indirect + golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect + golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect + golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect + golang.org/x/text v0.3.6 // indirect +) + //replace github.com/Mrs4s/MiraiGo => ../../Mrs4s/MiraiGo diff --git a/go.sum b/go.sum index 606b4f7..021494e 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +1,7 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/Mrs4s/MiraiGo v0.0.0-20210803073620-cb396f0f5649 h1:9aEo50MD/QMHExoBxeUu/oLrs8gKzuyKWZ2+t+8AaOQ= -github.com/Mrs4s/MiraiGo v0.0.0-20210803073620-cb396f0f5649/go.mod h1:5V3f/+mTYtrI/+hLqbdzZQXuLMl2RyLfx0XYYjCQ90Q= -github.com/Mrs4s/MiraiGo v0.0.0-20210813074820-b8399fa706dc h1:Gsk2ZnK0ojMA+R3mpKGyca17QM32xKrljxs24OCMGKw= -github.com/Mrs4s/MiraiGo v0.0.0-20210813074820-b8399fa706dc/go.mod h1:oHKHGi6E7orFWiFZMvczvfGzwsdA2vPFzUmwKOaYX7Y= +github.com/Mrs4s/MiraiGo v0.0.0-20210819142722-38916542a3eb h1:ipx9X3yuELYxfvdyq9uBxiY34vJmg9GawzZ7kmz6gic= +github.com/Mrs4s/MiraiGo v0.0.0-20210819142722-38916542a3eb/go.mod h1:oHKHGi6E7orFWiFZMvczvfGzwsdA2vPFzUmwKOaYX7Y= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=