From 2553fa1f74cf95d4237ac80b29bd7b02648f651d Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Thu, 10 Aug 2023 21:32:18 +1000 Subject: [PATCH] Update templates to use Go 1.21 --- v3/internal/templates/_base/default/go.mod.tmpl | 2 +- v3/internal/templates/lit-ts/go.mod.tmpl | 2 +- v3/internal/templates/lit/go.mod.tmpl | 2 +- v3/internal/templates/preact-ts/go.mod.tmpl | 2 +- v3/internal/templates/preact/go.mod.tmpl | 2 +- v3/internal/templates/react-swc-ts/go.mod.tmpl | 2 +- v3/internal/templates/react-swc/go.mod.tmpl | 2 +- v3/internal/templates/react-ts/go.mod.tmpl | 2 +- v3/internal/templates/react/go.mod.tmpl | 2 +- v3/internal/templates/svelte-ts/go.mod.tmpl | 2 +- v3/internal/templates/svelte/go.mod.tmpl | 2 +- v3/internal/templates/vanilla-ts/go.mod.tmpl | 2 +- v3/internal/templates/vanilla/go.mod.tmpl | 2 +- v3/internal/templates/vue-ts/go.mod.tmpl | 2 +- v3/internal/templates/vue/go.mod.tmpl | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/v3/internal/templates/_base/default/go.mod.tmpl b/v3/internal/templates/_base/default/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/_base/default/go.mod.tmpl +++ b/v3/internal/templates/_base/default/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/lit-ts/go.mod.tmpl b/v3/internal/templates/lit-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/lit-ts/go.mod.tmpl +++ b/v3/internal/templates/lit-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/lit/go.mod.tmpl b/v3/internal/templates/lit/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/lit/go.mod.tmpl +++ b/v3/internal/templates/lit/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/preact-ts/go.mod.tmpl b/v3/internal/templates/preact-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/preact-ts/go.mod.tmpl +++ b/v3/internal/templates/preact-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/preact/go.mod.tmpl b/v3/internal/templates/preact/go.mod.tmpl index bc1cc31ea..3883674e9 100644 --- a/v3/internal/templates/preact/go.mod.tmpl +++ b/v3/internal/templates/preact/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/react-swc-ts/go.mod.tmpl b/v3/internal/templates/react-swc-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/react-swc-ts/go.mod.tmpl +++ b/v3/internal/templates/react-swc-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/react-swc/go.mod.tmpl b/v3/internal/templates/react-swc/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/react-swc/go.mod.tmpl +++ b/v3/internal/templates/react-swc/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/react-ts/go.mod.tmpl b/v3/internal/templates/react-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/react-ts/go.mod.tmpl +++ b/v3/internal/templates/react-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/react/go.mod.tmpl b/v3/internal/templates/react/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/react/go.mod.tmpl +++ b/v3/internal/templates/react/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/svelte-ts/go.mod.tmpl b/v3/internal/templates/svelte-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/svelte-ts/go.mod.tmpl +++ b/v3/internal/templates/svelte-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/svelte/go.mod.tmpl b/v3/internal/templates/svelte/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/svelte/go.mod.tmpl +++ b/v3/internal/templates/svelte/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/vanilla-ts/go.mod.tmpl b/v3/internal/templates/vanilla-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/vanilla-ts/go.mod.tmpl +++ b/v3/internal/templates/vanilla-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/vanilla/go.mod.tmpl b/v3/internal/templates/vanilla/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/vanilla/go.mod.tmpl +++ b/v3/internal/templates/vanilla/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/vue-ts/go.mod.tmpl b/v3/internal/templates/vue-ts/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/vue-ts/go.mod.tmpl +++ b/v3/internal/templates/vue-ts/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0 diff --git a/v3/internal/templates/vue/go.mod.tmpl b/v3/internal/templates/vue/go.mod.tmpl index a05b62ce6..4fb0017bc 100644 --- a/v3/internal/templates/vue/go.mod.tmpl +++ b/v3/internal/templates/vue/go.mod.tmpl @@ -1,6 +1,6 @@ module changeme -go 1.19 +go 1.21 require github.com/wailsapp/wails/v3 v3.0.0-alpha.0