Documentation ¶
Index ¶
- type TestArticleDao
- func (t *TestArticleDao) CreateOne(ctx context.Context, one *model.One) error
- func (t *TestArticleDao) CreateTwo(ctx context.Context, two *model.Two) error
- func (t *TestArticleDao) DeleteOneById(ctx context.Context, id string) error
- func (t *TestArticleDao) DeleteOneById2(ctx context.Context, id string) error
- func (t *TestArticleDao) DeleteOneById3(ctx context.Context, id string) error
- func (t *TestArticleDao) DeleteTwoById(ctx context.Context, id string) error
- func (t *TestArticleDao) DeleteTwoById2(ctx context.Context, id string) error
- func (t *TestArticleDao) DeleteTwoById3(ctx context.Context, id string) error
- func (t *TestArticleDao) GetOneById(ctx context.Context, id string) (*model.One, error)
- func (t *TestArticleDao) GetTwoById(ctx context.Context, id string) (*model.Two, error)
- func (t *TestArticleDao) UpdateOneById(ctx context.Context, one *model.One) error
- func (t *TestArticleDao) UpdateTwoById(ctx context.Context, two *model.Two) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestArticleDao ¶
func NewTestArticleDao ¶
func NewTestArticleDao(ndb *ndb.NDb, log *nlog.NLog) *TestArticleDao
func (*TestArticleDao) DeleteOneById ¶
func (t *TestArticleDao) DeleteOneById(ctx context.Context, id string) error
func (*TestArticleDao) DeleteOneById2 ¶
func (t *TestArticleDao) DeleteOneById2(ctx context.Context, id string) error
func (*TestArticleDao) DeleteOneById3 ¶
func (t *TestArticleDao) DeleteOneById3(ctx context.Context, id string) error
func (*TestArticleDao) DeleteTwoById ¶
func (t *TestArticleDao) DeleteTwoById(ctx context.Context, id string) error
func (*TestArticleDao) DeleteTwoById2 ¶
func (t *TestArticleDao) DeleteTwoById2(ctx context.Context, id string) error
func (*TestArticleDao) DeleteTwoById3 ¶
func (t *TestArticleDao) DeleteTwoById3(ctx context.Context, id string) error
func (*TestArticleDao) GetOneById ¶
func (*TestArticleDao) GetTwoById ¶
func (*TestArticleDao) UpdateOneById ¶
func (*TestArticleDao) UpdateTwoById ¶
Click to show internal directories.
Click to hide internal directories.