Skip to content

Commit

Permalink
chore: add pub: access modifier to public struct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 5, 2024
1 parent 1bb4ee7 commit 3caecea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/usecase/package/usecase.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module package

pub struct UseCase {
pub:
categories CategoriesRepo @[required]
packages PackagesRepo @[required]
users UsersRepo @[required]
Expand Down
1 change: 1 addition & 0 deletions src/usecase/user/usecase.v
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub interface UsersRepo {
}

pub struct UseCase {
pub:
users UsersRepo @[required]
}

Expand Down

0 comments on commit 3caecea

Please sign in to comment.