From 5678ca5ed1d6eda2e405f33d8771c158f25e3050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Mon, 31 Jan 2022 10:57:48 +0100 Subject: [PATCH] go.mod: Set minimal support version of go to 1.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As requested in https://github.com/prometheus/common/pull/353#discussion_r793113705 Signed-off-by: Manuel RĂ¼ger --- .circleci/config.yml | 8 -------- README.md | 2 +- go.mod | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 95f239110..6c6f6e439 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,14 +47,6 @@ workflows: client_golang: jobs: # Refer to README.md for the currently supported versions. - - test: - name: go-1-13 - go_version: "1.13" - run_lint: true - - test: - name: go-1-14 - go_version: "1.14" - run_lint: true - test: name: go-1-15 go_version: "1.15" diff --git a/README.md b/README.md index 41fc1ed3c..6b0e8742b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is the [Go](http://golang.org) client library for instrumenting application code, and one for creating clients that talk to the Prometheus HTTP API. -__This library requires Go1.13 or later.__ +__This library requires Go1.15 or later.__ ## Important note about releases and stability diff --git a/go.mod b/go.mod index 40ff4fca3..9088d0820 100644 --- a/go.mod +++ b/go.mod @@ -12,4 +12,4 @@ require ( google.golang.org/protobuf v1.26.0 ) -go 1.13 +go 1.15