Skip to content

Commit e3f0dab

Browse files
committed
Fix: go mod and build script allowed platform
1 parent 9471721 commit e3f0dab

File tree

3 files changed

+64
-123
lines changed

3 files changed

+64
-123
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function BuildAll() {
232232
else
233233
for platform in $(echo "$1" | tr "," "\n"); do
234234
if [ "$platform" == "all" ]; then
235-
BuildAll "$ALLOWD_PLATFORM"
235+
BuildAll "$ALLOWED_PLATFORM"
236236
elif [ "$platform" == "linux" ]; then
237237
BuildAll "$LINUX_ALLOWED_PLATFORM"
238238
elif [ "$platform" == "darwin" ]; then

go.mod

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@ module github.com/synctv-org/synctv
22

33
go 1.21
44

5-
toolchain go1.21.4
6-
75
require (
86
github.com/caarlos0/env/v9 v9.0.0
97
github.com/cavaliergopher/grab/v3 v3.0.1
10-
github.com/gin-contrib/cors v1.4.0
8+
github.com/gin-contrib/cors v1.5.0
119
github.com/gin-gonic/gin v1.9.1
1210
github.com/glebarez/sqlite v1.10.0
1311
github.com/go-kratos/aegis v0.2.0
14-
github.com/go-kratos/kratos/contrib/registry/consul/v2 v2.0.0-20231122041305-e84cddeabddb
15-
github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-20231122041305-e84cddeabddb
12+
github.com/go-kratos/kratos/contrib/registry/consul/v2 v2.0.0-20231127154351-cdb9e99968f7
13+
github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-20231127154351-cdb9e99968f7
1614
github.com/go-kratos/kratos/v2 v2.7.1
1715
github.com/go-resty/resty/v2 v2.10.0
1816
github.com/golang-jwt/jwt/v4 v4.5.0
@@ -39,9 +37,9 @@ require (
3937
github.com/zijiren233/stream v0.5.1
4038
github.com/zijiren233/yaml-comment v0.2.1
4139
go.etcd.io/etcd/client/v3 v3.5.10
42-
golang.org/x/crypto v0.15.0
43-
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
44-
golang.org/x/oauth2 v0.14.0
40+
golang.org/x/crypto v0.16.0
41+
golang.org/x/exp v0.0.0-20231127185646-65229373498e
42+
golang.org/x/oauth2 v0.15.0
4543
google.golang.org/grpc v1.59.0
4644
google.golang.org/protobuf v1.31.0
4745
gopkg.in/yaml.v3 v3.0.1
@@ -75,7 +73,7 @@ require (
7573
github.com/gogo/protobuf v1.3.2 // indirect
7674
github.com/golang/protobuf v1.5.3 // indirect
7775
github.com/google/go-querystring v1.1.0 // indirect
78-
github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect
76+
github.com/google/pprof v0.0.0-20231127191134-f3a68a39ae15 // indirect
7977
github.com/google/wire v0.5.0 // indirect
8078
github.com/gorilla/mux v1.8.1 // indirect
8179
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -119,17 +117,17 @@ require (
119117
go.uber.org/zap v1.26.0 // indirect
120118
golang.org/x/arch v0.6.0 // indirect
121119
golang.org/x/mod v0.14.0 // indirect
122-
golang.org/x/net v0.18.0 // indirect
120+
golang.org/x/net v0.19.0 // indirect
123121
golang.org/x/sync v0.5.0 // indirect
124-
golang.org/x/sys v0.14.0 // indirect
122+
golang.org/x/sys v0.15.0 // indirect
125123
golang.org/x/text v0.14.0 // indirect
126-
golang.org/x/tools v0.15.0 // indirect
124+
golang.org/x/tools v0.16.0 // indirect
127125
google.golang.org/appengine v1.6.8 // indirect
128-
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
129-
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect
130-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
126+
google.golang.org/genproto v0.0.0-20231127180814-3a041ad873d4 // indirect
127+
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 // indirect
128+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
131129
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
132-
modernc.org/libc v1.34.9 // indirect
130+
modernc.org/libc v1.34.11 // indirect
133131
modernc.org/mathutil v1.6.0 // indirect
134132
modernc.org/memory v1.7.2 // indirect
135133
modernc.org/sqlite v1.27.0 // indirect

0 commit comments

Comments
 (0)