tianxiaoliang commented on a change in pull request #129: wip: refactor apis
URL: https://github.com/apache/servicecomb-kie/pull/129#discussion_r398586262
##########
File path: server/service/service.go
##########
@@ -43,11 +43,13 @@ var (
//KV provide api of KV entity
type KV interface {
//below 3 methods is usually for admin console
+ Create(ctx context.Context, kv *model.KVDoc) (*model.KVDoc, error)
Review comment:
建议保持createorupdate语义,简洁,内部只需要小改动,而且你不用改UT了
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services