pulumi/tests/testdata/codegen/modpath-pp/go/modpath.go

19 lines
331 B
Go

package main
import (
other "git.example.org/thirdparty/sdk/go/pkg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := other.NewThing(ctx, "thing", &other.ThingArgs{
Idea: pulumi.String("myIdea"),
})
if err != nil {
return err
}
return nil
})
}