github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/go/mypkg/funcWithConstInput.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 mypkg 5 6 import ( 7 "github.com/pulumi/pulumi/sdk/v3/go/pulumi" 8 ) 9 10 // Codegen demo with const inputs 11 func FuncWithConstInput(ctx *pulumi.Context, args *FuncWithConstInputArgs, opts ...pulumi.InvokeOption) error { 12 var rv struct{} 13 err := ctx.Invoke("mypkg::funcWithConstInput", args, &rv, opts...) 14 return err 15 } 16 17 type FuncWithConstInputArgs struct { 18 PlainInput *string `pulumi:"plainInput"` 19 }