From b383ac9942f0f74bd7dea813836fea5071d67b1c Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 2 Apr 2021 16:59:56 +1100 Subject: [PATCH] Import embed in templates! --- cmd/templates/angular-template/main.go.template | 1 + cmd/templates/create-react-app/main.go.template | 1 + cmd/templates/svelte/main.go.template | 1 + cmd/templates/vanilla/main.go.template | 1 + cmd/templates/vue3-full/main.go.template | 1 + cmd/templates/vuebasic/main.go.template | 1 + cmd/templates/vuetify-basic/main.go.template | 1 + cmd/templates/vuetify2-basic/main.go.template | 1 + 8 files changed, 8 insertions(+) diff --git a/cmd/templates/angular-template/main.go.template b/cmd/templates/angular-template/main.go.template index d7abf2c2..9f2ae4f3 100644 --- a/cmd/templates/angular-template/main.go.template +++ b/cmd/templates/angular-template/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/create-react-app/main.go.template b/cmd/templates/create-react-app/main.go.template index 68b4d35c..1db92ddc 100644 --- a/cmd/templates/create-react-app/main.go.template +++ b/cmd/templates/create-react-app/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/svelte/main.go.template b/cmd/templates/svelte/main.go.template index 3fd9a2c0..238d947c 100644 --- a/cmd/templates/svelte/main.go.template +++ b/cmd/templates/svelte/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/vanilla/main.go.template b/cmd/templates/vanilla/main.go.template index d4829fb7..e4dbbbc0 100644 --- a/cmd/templates/vanilla/main.go.template +++ b/cmd/templates/vanilla/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/vue3-full/main.go.template b/cmd/templates/vue3-full/main.go.template index 51c5b091..5c545394 100644 --- a/cmd/templates/vue3-full/main.go.template +++ b/cmd/templates/vue3-full/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/vuebasic/main.go.template b/cmd/templates/vuebasic/main.go.template index 51c5b091..5c545394 100644 --- a/cmd/templates/vuebasic/main.go.template +++ b/cmd/templates/vuebasic/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/vuetify-basic/main.go.template b/cmd/templates/vuetify-basic/main.go.template index 51c5b091..5c545394 100644 --- a/cmd/templates/vuetify-basic/main.go.template +++ b/cmd/templates/vuetify-basic/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" ) diff --git a/cmd/templates/vuetify2-basic/main.go.template b/cmd/templates/vuetify2-basic/main.go.template index 51c5b091..5c545394 100644 --- a/cmd/templates/vuetify2-basic/main.go.template +++ b/cmd/templates/vuetify2-basic/main.go.template @@ -1,6 +1,7 @@ package main import ( + _ "embed" "github.com/wailsapp/wails" )