Documentation ¶
Index ¶
- func Create(obj interface{}) error
- func CreateWithIgonreConflict(obj interface{}) error
- func Delete(obj interface{}) error
- func First(obj interface{}) error
- func GetAllTask() ([]*model.Task, error)
- func GetAuthorList(BotID string) ([]*model.Author, error)
- func GetBotList(UserID uint) ([]*model.Bot, error)
- func GetDynamic(id uint64) (dynamic model.Dynamic, err error)
- func GetDynamicByMid(mid string, limit int) (dynamic []model.Dynamic, err error)
- func GetDynamicList(AuthorID string) (dynamic []*model.Dynamic, err error)
- func GetUserByID(id string) (user model.User, err error)
- func GetUserByName(username string) (user model.User, err error)
- func Save(obj interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWithIgonreConflict ¶
func CreateWithIgonreConflict(obj interface{}) error
func GetAllTask ¶
func GetDynamicByMid ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.