14 lines
263 B
Go
14 lines
263 B
Go
package wallet
|
|
|
|
type Service struct {
|
|
walletStore WalletStore
|
|
transferStore TransferStore
|
|
}
|
|
|
|
func NewService(walletStore WalletStore, transferStore TransferStore) *Service {
|
|
return &Service{
|
|
walletStore: walletStore,
|
|
transferStore: transferStore,
|
|
}
|
|
}
|