README
¶
Service API
This directory holds service interfaces that define the business logic layer.
Directory Guidelines
- Create domain-specific subdirectories for complex implementations (e.g.,
order/
). - Directly add service interfaces as
.go
files if not creating subdirectories.
Example Structure
api
├── sub-directory # when hit a complexity
│ └── api_<group_name>_<some_action>.go
└── api_some_action.go # when simple implementation
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceAPI ¶
type UserServiceAPI interface {
Find(ctx context.Context, p service_attribute.UserFindAttribute) (*entity.User, error)
}
Click to show internal directories.
Click to hide internal directories.