Beispiel #1
0
func setVar(client service.Client, scope api.EvalScope, args ...string) error {
	if len(args) != 2 {
		return fmt.Errorf("wrong number of arguments")
	}

	return client.SetVariable(scope, args[0], args[1])
}