From 85843f1f296d1e6f452567da17c891904921ec88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 7 Sep 2019 00:30:00 +0200 Subject: [PATCH] all: update go.mod files to target Go 1.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the main README recommends Go 1.13 or later, let's make the go.mod files reflect that. This will enable starting to use new language features. Modules that still build on 1.12 will continue to work on that version just fine; this line is just a hint to enable new language features for versions of Go new enough. Signed-off-by: Daniel Martí --- apps/go.mod | 2 +- cmd/go.mod | 2 +- ui/go.mod | 2 +- website/go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/go.mod b/apps/go.mod index 9613bd0b..b0e20e96 100644 --- a/apps/go.mod +++ b/apps/go.mod @@ -1,6 +1,6 @@ module gioui.org/apps -go 1.12 +go 1.13 require ( gioui.org/ui v0.0.0-20190902131729-7ad60e08787b diff --git a/cmd/go.mod b/cmd/go.mod index 474bccc5..401f45e9 100644 --- a/cmd/go.mod +++ b/cmd/go.mod @@ -1,6 +1,6 @@ module gioui.org/cmd -go 1.12 +go 1.13 require ( golang.org/x/image v0.0.0-20190802002840-cff245a6509b diff --git a/ui/go.mod b/ui/go.mod index 9e2df813..42de2447 100644 --- a/ui/go.mod +++ b/ui/go.mod @@ -1,6 +1,6 @@ module gioui.org/ui -go 1.12 +go 1.13 require ( golang.org/x/image v0.0.0-20190703141733-d6a02ce849c9 diff --git a/website/go.mod b/website/go.mod index 2ff325f8..75d73b57 100644 --- a/website/go.mod +++ b/website/go.mod @@ -1,3 +1,3 @@ module gioui.org/website -go 1.12 +go 1.13