robotLJW commented on a change in pull request #1077:
URL:
https://github.com/apache/servicecomb-service-center/pull/1077#discussion_r660237884
##########
File path: datasource/cache/ms_cache.go
##########
@@ -21,17 +21,18 @@ import (
"context"
"strings"
- "github.com/go-chassis/cari/discovery"
-
"github.com/apache/servicecomb-service-center/datasource/mongo/client/model"
"github.com/apache/servicecomb-service-center/datasource/mongo/sd"
"github.com/apache/servicecomb-service-center/pkg/util"
+ "github.com/go-chassis/cari/discovery"
)
const (
Provider = "p"
+ Split = "/"
)
+// dep cache
Review comment:
函数头加注释,类似这样,说明下是干啥的
// Add adds an entity to the list.
func (l *AbstractList) Add(e Entity) {
// ...
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]