Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(GetCommandsCollect, NewAccountService)
ProviderSet is service providers.
Functions ¶
func GetCommandsCollect ¶
func GetCommandsCollect(account *AccountService) []pkg.CommandService
Types ¶
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func NewAccountService ¶
func NewAccountService(ctx context.Context, logger log.Logger, account *biz.AccountUseCase) *AccountService
func (*AccountService) Accounts ¶
func (s *AccountService) Accounts(ctx context.Context) *cobra.Command
func (*AccountService) GetCommands ¶
func (s *AccountService) GetCommands() *cobra.Command
Click to show internal directories.
Click to hide internal directories.