~eliasnaur/gio

all: update go.mod files to target Go 1.13 v1 PROPOSED

Thanks.

To git.sr.ht:~eliasnaur/gio
   b4433da..85843f1  master -> master
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~eliasnaur/gio/%3C20190906223000.21940-1-mvdan%40mvdan.cc%3E/mbox | git am -3
Learn more about email & git

[PATCH] all: update go.mod files to target Go 1.13 Export this patch

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í <mvdan@mvdan.cc>
---
 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 9613bd0..b0e20e9 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 474bccc..401f45e 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 9e2df81..42de244 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 2ff325f..75d73b5 100644
--- a/website/go.mod
+++ b/website/go.mod
@@ -1,3 +1,3 @@
 module gioui.org/website
 
-go 1.12
+go 1.13
-- 
2.23.0
Thanks.

To git.sr.ht:~eliasnaur/gio
   b4433da..85843f1  master -> master
View this thread in the archives