From 53a387560118ed678943513d0e7237334cadbbfc Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Tue, 16 Mar 2021 23:34:44 +0300 Subject: [PATCH] Upgrade min required go version to 1.16. --- README.md | 2 +- go.mod | 2 +- tools/testtool/testdata/list/go.mod | 2 +- tools/testtool/testdata/pkgfind/go.mod | 2 +- .../testdata/submissions/correct/coverme/private/go.mod | 2 +- .../testdata/submissions/correct/coverme/student/go.mod | 2 +- .../submissions/correct/cumulativecoverage/private/go.mod | 2 +- .../submissions/correct/cumulativecoverage/student/go.mod | 2 +- tools/testtool/testdata/submissions/correct/sum/private/go.mod | 2 +- tools/testtool/testdata/submissions/correct/sum/student/go.mod | 2 +- .../testdata/submissions/incorrect/badbenchmark/private/go.mod | 2 +- .../testdata/submissions/incorrect/badbenchmark/student/go.mod | 2 +- .../testdata/submissions/incorrect/brokenstyle/private/go.mod | 2 +- .../testdata/submissions/incorrect/brokenstyle/student/go.mod | 2 +- .../testdata/submissions/incorrect/brokentest/private/go.mod | 2 +- .../testdata/submissions/incorrect/brokentest/student/go.mod | 2 +- .../testdata/submissions/incorrect/extracoverage/private/go.mod | 2 +- .../testdata/submissions/incorrect/extracoverage/student/go.mod | 2 +- .../testdata/submissions/incorrect/newdependency/private/go.mod | 2 +- .../testdata/submissions/incorrect/newdependency/student/go.mod | 2 +- .../testdata/submissions/incorrect/poorcoverage/private/go.mod | 2 +- .../testdata/submissions/incorrect/poorcoverage/student/go.mod | 2 +- .../submissions/incorrect/skippedcoverpkg/private/go.mod | 2 +- .../submissions/incorrect/skippedcoverpkg/student/go.mod | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 113f34a..1806a30 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Курс по Го в ШАД -Для работы с кодом нужен go 1.13 или выше. +Для работы с кодом нужен go 1.16 или выше. ```sh git clone https://gitlab.com/slon/shad-go.git diff --git a/go.mod b/go.mod index 637d84e..aa542dc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/ClickHouse/clickhouse-go v1.4.0 diff --git a/tools/testtool/testdata/list/go.mod b/tools/testtool/testdata/list/go.mod index c5780b9..c518a6e 100644 --- a/tools/testtool/testdata/list/go.mod +++ b/tools/testtool/testdata/list/go.mod @@ -1,3 +1,3 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 diff --git a/tools/testtool/testdata/pkgfind/go.mod b/tools/testtool/testdata/pkgfind/go.mod index c5780b9..c518a6e 100644 --- a/tools/testtool/testdata/pkgfind/go.mod +++ b/tools/testtool/testdata/pkgfind/go.mod @@ -1,3 +1,3 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 diff --git a/tools/testtool/testdata/submissions/correct/coverme/private/go.mod b/tools/testtool/testdata/submissions/correct/coverme/private/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/correct/coverme/private/go.mod +++ b/tools/testtool/testdata/submissions/correct/coverme/private/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/correct/coverme/student/go.mod b/tools/testtool/testdata/submissions/correct/coverme/student/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/correct/coverme/student/go.mod +++ b/tools/testtool/testdata/submissions/correct/coverme/student/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/correct/cumulativecoverage/private/go.mod b/tools/testtool/testdata/submissions/correct/cumulativecoverage/private/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/correct/cumulativecoverage/private/go.mod +++ b/tools/testtool/testdata/submissions/correct/cumulativecoverage/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/correct/cumulativecoverage/student/go.mod b/tools/testtool/testdata/submissions/correct/cumulativecoverage/student/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/correct/cumulativecoverage/student/go.mod +++ b/tools/testtool/testdata/submissions/correct/cumulativecoverage/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/correct/sum/private/go.mod b/tools/testtool/testdata/submissions/correct/sum/private/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/correct/sum/private/go.mod +++ b/tools/testtool/testdata/submissions/correct/sum/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/correct/sum/student/go.mod b/tools/testtool/testdata/submissions/correct/sum/student/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/correct/sum/student/go.mod +++ b/tools/testtool/testdata/submissions/correct/sum/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/badbenchmark/private/go.mod b/tools/testtool/testdata/submissions/incorrect/badbenchmark/private/go.mod index 51a03cc..01c6ae3 100644 --- a/tools/testtool/testdata/submissions/incorrect/badbenchmark/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/badbenchmark/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/go-resty/resty/v2 v2.1.0 diff --git a/tools/testtool/testdata/submissions/incorrect/badbenchmark/student/go.mod b/tools/testtool/testdata/submissions/incorrect/badbenchmark/student/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/badbenchmark/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/badbenchmark/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/brokenstyle/private/go.mod b/tools/testtool/testdata/submissions/incorrect/brokenstyle/private/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/brokenstyle/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/brokenstyle/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/brokenstyle/student/go.mod b/tools/testtool/testdata/submissions/incorrect/brokenstyle/student/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/brokenstyle/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/brokenstyle/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/brokentest/private/go.mod b/tools/testtool/testdata/submissions/incorrect/brokentest/private/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/brokentest/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/brokentest/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/brokentest/student/go.mod b/tools/testtool/testdata/submissions/incorrect/brokentest/student/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/brokentest/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/brokentest/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/extracoverage/private/go.mod b/tools/testtool/testdata/submissions/incorrect/extracoverage/private/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/extracoverage/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/extracoverage/private/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/incorrect/extracoverage/student/go.mod b/tools/testtool/testdata/submissions/incorrect/extracoverage/student/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/extracoverage/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/extracoverage/student/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/incorrect/newdependency/private/go.mod b/tools/testtool/testdata/submissions/incorrect/newdependency/private/go.mod index 395a3ee..74beb58 100644 --- a/tools/testtool/testdata/submissions/incorrect/newdependency/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/newdependency/private/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/newdependency/student/go.mod b/tools/testtool/testdata/submissions/incorrect/newdependency/student/go.mod index 6b02446..c13cc7c 100644 --- a/tools/testtool/testdata/submissions/incorrect/newdependency/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/newdependency/student/go.mod @@ -1,6 +1,6 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require ( github.com/spf13/cobra v0.0.5 diff --git a/tools/testtool/testdata/submissions/incorrect/poorcoverage/private/go.mod b/tools/testtool/testdata/submissions/incorrect/poorcoverage/private/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/poorcoverage/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/poorcoverage/private/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/incorrect/poorcoverage/student/go.mod b/tools/testtool/testdata/submissions/incorrect/poorcoverage/student/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/poorcoverage/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/poorcoverage/student/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/private/go.mod b/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/private/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/private/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/private/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1 diff --git a/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/student/go.mod b/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/student/go.mod index a8be277..23579c8 100644 --- a/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/student/go.mod +++ b/tools/testtool/testdata/submissions/incorrect/skippedcoverpkg/student/go.mod @@ -1,5 +1,5 @@ module gitlab.com/slon/shad-go -go 1.13 +go 1.16 require github.com/stretchr/testify v1.5.1