1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

feat: update go version to 1.16 (#1536)

This commit is contained in:
Windfarer 2021-10-08 20:49:56 +08:00 committed by GitHub
parent d0c65fbd75
commit f3e75bffca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 20 additions and 20 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.16
- name: Build
run: go build ./...

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/cmd/kratos/v2
go 1.15
go 1.16
require (
github.com/AlecAivazis/survey/v2 v2.2.15

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/cmd/protoc-gen-go-errors/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.3

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.3

View File

@ -55,7 +55,7 @@ func TestEnvWithPrefix(t *testing.T) {
}
for k, v := range envs {
t.Setenv(k, v)
os.Setenv(k, v)
}
c := config.New(config.WithSource(
@ -161,7 +161,7 @@ func TestEnvWithoutPrefix(t *testing.T) {
}
for k, v := range envs {
t.Setenv(k, v)
os.Setenv(k, v)
}
c := config.New(config.WithSource(

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/config/apollo/v2
go 1.15
go 1.16
require (
github.com/apolloconfig/agollo/v4 v4.0.8

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/config/etcd/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/config/kubernetes/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/config/nacos/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/log/fluent/v2
go 1.15
go 1.16
require (
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/log/zap/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.5

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/metrics/datadog/v2
go 1.15
go 1.16
require (
github.com/DataDog/datadog-go v4.8.1+incompatible

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/metrics/prometheus/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/registry/consul/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/registry/etcd/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/registry/kubernetes/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/registry/nacos/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/contrib/registry/zookeeper/v2
go 1.15
go 1.16
require (
github.com/go-kratos/kratos/v2 v2.0.0

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/go-kratos/kratos/v2
go 1.15
go 1.16
require (
github.com/fsnotify/fsnotify v1.4.9