pulumi/pkg/codegen/internal/test/testdata/output-funcs/go/funcWithConstInput.go

21 lines
562 B
Go

// *** WARNING: this file was generated by tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package codegentest
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// Codegen demo with const inputs
func FuncWithConstInput(ctx *pulumi.Context, args *FuncWithConstInputArgs, opts ...pulumi.InvokeOption) error {
var rv struct{}
err := ctx.Invoke("madeup-package:codegentest:funcWithConstInput", args, &rv, opts...)
return err
}
type FuncWithConstInputArgs struct {
PlainInput *string `pulumi:"plainInput"`
}