File tree 5 files changed +5
-5
lines changed
cmd/sponge/commands/generate
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
- 要求使用go 1.22以上版本 : [ https://studygolang.com/dl ] ( https://studygolang.com/dl )
2
+ 要求使用go 1.23以上版本 : [ https://studygolang.com/dl ] ( https://studygolang.com/dl )
3
3
4
4
> 注:如果不能科学上网,获取github的库可能会遇到超时失败问题,建议设置为国内代理,执行命令 ** go env -w GOPROXY=https://goproxy.cn,direct **
5
5
Original file line number Diff line number Diff line change 1
1
2
- Recommended to use go version 1.22 or above, [ https://go.dev/doc/install ] ( https://go.dev/doc/install )
2
+ Recommended to use go version 1.23 or above, [ https://go.dev/doc/install ] ( https://go.dev/doc/install )
3
3
4
4
<br >
5
5
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
27
27
)
28
28
29
29
const (
30
- defaultGoModVersion = "go 1.22 "
30
+ defaultGoModVersion = "go 1.23.0 "
31
31
32
32
// TplNameSponge name of the template
33
33
TplNameSponge = "sponge"
Original file line number Diff line number Diff line change 1
1
# Need to package the code first `tar zcf serverNameExample.tar.gz $(ls)` and move it to the same directory as Dokerfile
2
2
3
3
# Compile the go code, you can specify the golang version
4
- FROM golang:1.22 -alpine as build
4
+ FROM golang:1.23 -alpine as build
5
5
COPY . /go/src/serverNameExample
6
6
WORKDIR /go/src/serverNameExample
7
7
RUN tar zxf serverNameExample.tar.gz
Original file line number Diff line number Diff line change 1
1
# Need to package the code first `tar zcf serverNameExample.tar.gz $(ls)` and move it to the same directory as Dokerfile
2
2
# rpc server source code, used to test rpc methods
3
- FROM golang:1.22 -alpine
3
+ FROM golang:1.23 -alpine
4
4
MAINTAINER zhufuyi "g.zhufuyi@gmail.com"
5
5
6
6
# go test dependency packages
You can’t perform that action at this time.
0 commit comments