Upgrade the Go version.

This commit is contained in:
CareyWong 2024-01-29 10:48:37 +08:00
parent b333669521
commit a45b6ca368
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.20-alpine AS build FROM golang:1.21-alpine AS build
RUN apk update && apk add upx RUN apk update && apk add upx
WORKDIR /app WORKDIR /app
COPY main.go go.mod go.sum . COPY main.go go.mod go.sum .

View File

@ -1,6 +1,6 @@
# MyUrls # MyUrls
基于 Go 1.20 与 Redis 实现的本地短链接服务,用于缩短请求链接与短链接还原。 基于 Go 1.21 与 Redis 实现的本地短链接服务,用于缩短请求链接与短链接还原。
## Table of Contents ## Table of Contents