1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

Merge pull request #639 from baxiang/master

fix kratos new 时模板错误 #638
This commit is contained in:
Windfarer 2020-10-14 18:53:15 +08:00 committed by GitHub
commit 449c05523b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.