go.mod: Set minimal support version of go to 1.15

As requested in https://github.com/prometheus/common/pull/353#discussion_r793113705

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
Manuel Rüger 2022-01-31 10:57:48 +01:00
parent 2e1c4818cc
commit 5678ca5ed1
3 changed files with 2 additions and 10 deletions

View File

@ -47,14 +47,6 @@ workflows:
client_golang: client_golang:
jobs: jobs:
# Refer to README.md for the currently supported versions. # 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: - test:
name: go-1-15 name: go-1-15
go_version: "1.15" go_version: "1.15"

View File

@ -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 instrumenting application code, and one for creating clients that talk to the
Prometheus HTTP API. Prometheus HTTP API.
__This library requires Go1.13 or later.__ __This library requires Go1.15 or later.__
## Important note about releases and stability ## Important note about releases and stability

2
go.mod
View File

@ -12,4 +12,4 @@ require (
google.golang.org/protobuf v1.26.0 google.golang.org/protobuf v1.26.0
) )
go 1.13 go 1.15