better go example

This commit is contained in:
Ruben Fiszel
2022-11-02 11:16:09 +01:00
parent c55442c5f0
commit 6f9d2f3fd8
+2 -1
View File
@@ -63,8 +63,9 @@ import (
// wmill "github.com/windmill-labs/windmill-go-client"
)
func main(x string, nested struct{ v string }) (interface{}, error) {
func main(x string, nested struct{ Foo string \`json:"bar"\` }) (interface{}, error) {
fmt.Println("Hello, World")
fmt.Println(nested.Foo)
fmt.Println(quote.Opt())
// v, _ := wmill.GetVariable("g/all/pretty_secret")
return x, nil