From ddaaefab631e1d30768475a2a64f742bcbbfa69e Mon Sep 17 00:00:00 2001 From: yuki0920 Date: Sat, 9 Dec 2023 17:38:37 +0900 Subject: [PATCH] Update go version --- Dockerfile.prod | 2 +- go/go.mod | 2 +- go/tools/go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 98c4a071..4149f81b 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.21 as builder # Set destination for COPY WORKDIR /go/src diff --git a/go/go.mod b/go/go.mod index 9d8ecb09..60e2b177 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,6 +1,6 @@ module github.com/yuki0920/company-ranking/go -go 1.20 +go 1.21 require ( github.com/deepmap/oapi-codegen v1.16.2 diff --git a/go/tools/go.mod b/go/tools/go.mod index a64ba626..38acc631 100644 --- a/go/tools/go.mod +++ b/go/tools/go.mod @@ -1,6 +1,6 @@ module github.com/yuki0920/company-ranking/go/tools -go 1.20 +go 1.21 require ( github.com/cosmtrek/air v1.44.0