Skip to content

Commit

Permalink
chore(docs): change folder pkg to internal/controller in the migratio…
Browse files Browse the repository at this point in the history
…n guide
  • Loading branch information
Benjaminvdv authored and yyy1000 committed Aug 27, 2023
1 parent 29b0d15 commit d3639ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Therefore, you can check the changes in the layout results into:
- If your project support multi-group the APIs are scaffold under a directory called `apis`. Rename this directory to `api`
- Move the `controllers` directory under the `internal` and rename it for `controller`
- Now ensure that the imports will be updated accordingly by:
- Update the `main.go` imports to look for the new path of your controllers under the `pkg` directory
- Update the `main.go` imports to look for the new path of your controllers under the `internal/controller` directory

**Then, let's update the scaffolds paths**

Expand Down

0 comments on commit d3639ab

Please sign in to comment.