github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/regress-node-8110/go/my8110/exampleFunc.go (about)

     1  // Code generated by test DO NOT EDIT.
     2  // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  package my8110
     5  
     6  import (
     7  	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
     8  )
     9  
    10  func ExampleFunc(ctx *pulumi.Context, args *ExampleFuncArgs, opts ...pulumi.InvokeOption) error {
    11  	var rv struct{}
    12  	err := ctx.Invoke("my8110::exampleFunc", args, &rv, opts...)
    13  	return err
    14  }
    15  
    16  type ExampleFuncArgs struct {
    17  	Enums []string `pulumi:"enums"`
    18  }