tianxiaoliang commented on a change in pull request #111: fix go const
URL: https://github.com/apache/servicecomb-kie/pull/111#discussion_r386178669
##########
File path: server/resource/v1/common.go
##########
@@ -21,22 +21,32 @@ import (
"context"
"encoding/json"
"errors"
- "github.com/apache/servicecomb-kie/server/pubsub"
- "github.com/apache/servicecomb-kie/server/service"
- uuid "github.com/satori/go.uuid"
"net/http"
"strconv"
"strings"
"time"
"github.com/apache/servicecomb-kie/pkg/common"
+ "github.com/apache/servicecomb-kie/server/pubsub"
+ "github.com/apache/servicecomb-kie/server/service"
goRestful "github.com/emicklei/go-restful"
"github.com/go-chassis/go-chassis/server/restful"
"github.com/go-mesh/openlogging"
+ uuid "github.com/satori/go.uuid"
"gopkg.in/yaml.v2"
)
//const of server
+const (
+ HeaderUserAgent = "User-Agent"
+ ParameterStatus = "status"
Review comment:
Parameter 前面需要表达他的类型,是query还是path
----------------------------------------------------------------
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