router fix

This commit is contained in:
黄孟柱
2021-07-27 15:24:29 +08:00
parent 9187822122
commit cd2a15f7c6
5 changed files with 71 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ import (
)
var _ service.IRouterEndpoint = (*EndPoint)(nil)
type EndPoint struct {
endpoint router.IEndpoint
endpoint router.IEndPoint
headers []string
@@ -63,7 +63,7 @@ func (e *EndPoint) Queries() []string {
func NewEndPoint(endpoint router.IEndpoint) *EndPoint {
func NewEndPoint(endpoint router.IEndPoint) *EndPoint {
return &EndPoint{endpoint: endpoint}
}