升级Go版本至1.23并更新Dockerfile

This commit is contained in:
wood chen 2024-10-14 12:20:33 +08:00
parent 485594497c
commit fa640467bc
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# 构建阶段 # 构建阶段
FROM golang:1.21 AS builder FROM golang:1.23 AS builder
WORKDIR /app WORKDIR /app

2
go.mod
View File

@ -1,3 +1,3 @@
module random-api-go module random-api-go
go 1.21.3 go 1.23