From be9f62f5f7096b369f6030cfe287b663eb7b1051 Mon Sep 17 00:00:00 2001 From: Cori1109 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 95f2391..6c6f6e4 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 41fc1ed..6b0e874 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 40ff4fc..9088d08 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