0
Example go script
One script reply has been approved by the moderators Verified

Example of a go script

Created by admin 547 days ago Viewed 4574 times
0
Submitted by admin Go
Verified 547 days ago
1
package inner
2

3
import (
4
	"fmt"
5
	"rsc.io/quote"
6
    // wmill "github.com/windmill-labs/windmill-go-client"
7
)
8

9
func main(x string) (interface{}, error) {
10
	fmt.Println("Hello, World")
11
	fmt.Println(quote.Opt())
12
    // v, _ := wmill.GetVariable("g/all/pretty_secret")
13
	return x, nil
14
}