1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +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
19 changed files with 20 additions and 20 deletions
+1 -1
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 ./...
+1 -1
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
+1 -1
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
+1 -1
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
+2 -2
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(
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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
+1 -1
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