1
0
dwelling-home/pkg/mindflow/mindflow.go

11 lines
227 B
Go

package mindflow
type Mindflow interface {
New(post *Post) error
Edit(post *Post) error
Delete(id int64) error
GetAll() ([]Post, error)
NewCategory(name string) (int64, error)
GetCategoryByID(id int64) (string, error)
}