mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-06-05 13:40:19 +08:00
chore: fix some function names in comment (#5596)
Signed-off-by: caltechustc <caltechustc@outlook.com>
This commit is contained in:
@@ -542,7 +542,7 @@ func mustNewTestModel(collection mon.Collection, c cache.CacheConf, opts ...cach
|
||||
}
|
||||
}
|
||||
|
||||
// NewNodeModel returns a test Model with a cache node.
|
||||
// mustNewTestNodeModel returns a test Model with a cache node.
|
||||
func mustNewTestNodeModel(collection mon.Collection, rds *redis.Redis, opts ...cache.Option) *Model {
|
||||
c := cache.NewNode(rds, singleFlight, stats, mongo.ErrNoDocuments, opts...)
|
||||
return &Model{
|
||||
|
||||
Reference in New Issue
Block a user