Skip to content

Commit

Permalink
Merge pull request #424 from npellegrin/doc/fix-resources-doc
Browse files Browse the repository at this point in the history
docs: fix usage of libnuke and aws-nuke/v3 in examples
  • Loading branch information
ekristen authored Nov 18, 2024
2 parents 674525d + 2884c6e commit 478e87a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ package example
import (
"context"

"github.com/sirupsen/logrus"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/s3"

"github.com/ekristen/libnuke/pkg/settings"
"github.com/ekristen/libnuke/pkg/registry"
"github.com/ekristen/libnuke/pkg/resource"
"github.com/ekristen/libnuke/pkg/types"

"github.com/ekristen/aws-nuke/pkg/types"
"github.com/ekristen/aws-nuke/v3/pkg/nuke"
)
```

Expand Down
14 changes: 6 additions & 8 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,14 @@ use `go fmt` before committing any change.
package example

import (
"context"

"github.com/sirupsen/logrus"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/s3"

"github.com/ekristen/libnuke/pkg/settings"

"github.com/ekristen/aws-nuke/pkg/types"

"github.com/ekristen/libnuke/pkg/registry"
"github.com/ekristen/libnuke/pkg/resource"
"github.com/ekristen/libnuke/pkg/types"

"github.com/ekristen/aws-nuke/v3/pkg/nuke"
)
```

Expand Down
6 changes: 3 additions & 3 deletions docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"github.com/ekristen/libnuke/pkg/resource"
"github.com/ekristen/libnuke/pkg/types"

"github.com/ekristen/aws-nuke/pkg/nuke"
"github.com/ekristen/aws-nuke/v3/pkg/nuke"
)

type ExampleResource struct {
Expand Down Expand Up @@ -71,7 +71,7 @@ import (

"github.com/ekristen/libnuke/pkg/resource"

"github.com/ekristen/aws-nuke/pkg/nuke"
"github.com/ekristen/aws-nuke/v3/pkg/nuke"
)

type ExampleResourceLister struct{}
Expand All @@ -98,7 +98,7 @@ import (
"github.com/ekristen/libnuke/pkg/resource"
"github.com/ekristen/libnuke/pkg/types"

"github.com/ekristen/aws-nuke/pkg/nuke"
"github.com/ekristen/aws-nuke/v3/pkg/nuke"
)

type ExampleResourceLister struct{}
Expand Down

0 comments on commit 478e87a

Please sign in to comment.