18 lines
257 B
Go
18 lines
257 B
Go
package subscribeplanrepository
|
|
|
|
import "github.com/ardeman/project-legalgo-go/database"
|
|
|
|
type SubsPlan struct {
|
|
DB *database.DB
|
|
}
|
|
|
|
type SubsPlanIntf interface {
|
|
Create(string) error
|
|
}
|
|
|
|
func New(
|
|
db *database.DB,
|
|
) SubsPlanIntf {
|
|
return &SubsPlan{db}
|
|
}
|