chores: refactor struct and structure project
This commit is contained in:
@@ -8,6 +8,8 @@ type SubsAccs struct {
|
||||
|
||||
type SubsIntf interface {
|
||||
Create(string) (string, error)
|
||||
GetByID(string) (database.Subscribe, error)
|
||||
UpdateSubscribeStatus(database.Subscribe) error
|
||||
}
|
||||
|
||||
func New(db *database.DB) SubsIntf {
|
||||
|
||||
Reference in New Issue
Block a user