mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
fix kratos new 时模板错误 #638
This commit is contained in:
parent
1d913e7700
commit
8bd2d059eb
@ -23,7 +23,7 @@ type Dao interface {
|
||||
Close()
|
||||
Ping(ctx context.Context) (err error)
|
||||
// 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.
|
||||
|
@ -23,7 +23,7 @@ type Dao interface {
|
||||
Close()
|
||||
Ping(ctx context.Context) (err error)
|
||||
// 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user