From e8e2947063144abad2d6f4e4e13502e99b26e4e0 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 10 Dec 2024 13:40:15 +0000 Subject: [PATCH] Update docs from ImportBasePath change See https://github.com/pulumi/pulumi-terraform-bridge/pull/2705 That changed the ImportBasePath used for Go packages to match up what sdk-gen currently writes in terms of folder structure. This updates the docs so the import statments match. --- docs/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_index.md b/docs/_index.md index 0e6bf82..5a01766 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -76,7 +76,7 @@ To use this SDK in your Go project, run the following command: You can then use the SDK in your Go code with: - import "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3" + import "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3/random" ``` @@ -171,7 +171,7 @@ random.Pet("hi") package main import ( - "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/random/v3/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )