|
|
@ -23,7 +23,7 @@ type Dao interface { |
|
|
|
Close() |
|
|
|
Close() |
|
|
|
Ping(ctx context.Context) (err error) |
|
|
|
Ping(ctx context.Context) (err error) |
|
|
|
// bts: -nullcache=&model.Article{ID:-1} -check_null_code=$!=nil&&$.ID==-1 |
|
|
|
// bts: -nullcache=&model.Article{ID:-1} -check_null_code=$!=nil&&$.ID==-1 |
|
|
|
Article(c context.Context, id int64) (*model.Article, error) |
|
|
|
RawArticle(c context.Context, id int64) (*model.Article, error) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// dao dao. |
|
|
|
// dao dao. |
|
|
|