From 5c96264234111880107efab0588199eabe6c4027 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 11 Jan 2019 06:39:42 +1100 Subject: [PATCH] Update vue template to use BoxString Made arg marshalling messages Debug rather than Info --- binding_function.go | 4 ++-- cmd/templates/vuewebpack/main.go.template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/binding_function.go b/binding_function.go index 61cb836f..f459fb8b 100644 --- a/binding_function.go +++ b/binding_function.go @@ -134,8 +134,8 @@ func (b *boundFunction) call(data string) ([]reflect.Value, error) { } args[index] = value } - b.log.Infof("Unmarshalled Args: %+v\n", jsArgs) - b.log.Infof("Converted Args: %+v\n", args) + b.log.Debugf("Unmarshalled Args: %+v\n", jsArgs) + b.log.Debugf("Converted Args: %+v\n", args) results := b.function.Call(args) b.log.Debugf("results = %+v", results) diff --git a/cmd/templates/vuewebpack/main.go.template b/cmd/templates/vuewebpack/main.go.template index d347669d..4b15347e 100644 --- a/cmd/templates/vuewebpack/main.go.template +++ b/cmd/templates/vuewebpack/main.go.template @@ -13,8 +13,8 @@ func main() { Width: 1024, Height: 768, Title: "{{.Name}}", - JS: BoxString(&assets, "app.js"), - CSS: BoxString(&assets, "app.css"), + JS: wails.BoxString(&assets, "app.js"), + CSS: wails.BoxString(&assets, "app.css"), }) app.Bind(newQuotesCollection()) app.Run()