From d5003037ec51e9fe17375b9f40eb71ca93afddfb Mon Sep 17 00:00:00 2001 From: James Peach Date: Tue, 4 Jan 2022 11:25:31 +1100 Subject: [PATCH] Update the Go version to 1.16. Update the Go version directive to 1.16 since that is currently the oldest supported go release. This fixes #532. Signed-off-by: James Peach --- README.md | 2 +- examples/dyplomat/Dockerfile | 2 +- examples/dyplomat/go.mod | 4 ++-- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 142b01670d..6d261f5223 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ feedback, we might decided to revisit this aspect at a later point in time. ## Requirements -1. Go 1.11+ +1. Go 1.16+ ## Quick start diff --git a/examples/dyplomat/Dockerfile b/examples/dyplomat/Dockerfile index bc05016d25..ce7e61ee1c 100644 --- a/examples/dyplomat/Dockerfile +++ b/examples/dyplomat/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14 +FROM golang:1.16 WORKDIR /go/src/dyplomat COPY . /go/src/dyplomat diff --git a/examples/dyplomat/go.mod b/examples/dyplomat/go.mod index 7fa20bd1d8..7fea8a7f3c 100644 --- a/examples/dyplomat/go.mod +++ b/examples/dyplomat/go.mod @@ -1,6 +1,6 @@ -module kubecon-demo/dyplomat +module github.com/envoyproxy/go-control-plane/examples/dyplomat -go 1.14 +go 1.16 require ( github.com/envoyproxy/go-control-plane v0.9.6 diff --git a/go.mod b/go.mod index e1bb9062b2..5822c4b3ce 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/envoyproxy/go-control-plane -go 1.11 +go 1.16 require ( github.com/census-instrumentation/opencensus-proto v0.2.1