Skip to content

Commit 0abb9b7

Browse files
committed
fixed code conflicts
1 parent 884dfb5 commit 0abb9b7

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

group.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,6 @@ type xGroup struct {
3939
server *HttpServer
4040
notFoundHandler StandardHandle
4141
}
42-
type (
43-
Group interface {
44-
Use(m ...Middleware) Group
45-
Group(prefix string, m ...Middleware) Group
46-
DELETE(path string, h HttpHandle) RouterNode
47-
GET(path string, h HttpHandle) RouterNode
48-
HEAD(path string, h HttpHandle) RouterNode
49-
OPTIONS(path string, h HttpHandle) RouterNode
50-
PATCH(path string, h HttpHandle) RouterNode
51-
POST(path string, h HttpHandle) RouterNode
52-
PUT(path string, h HttpHandle) RouterNode
53-
ServerFile(path string, fileroot string) RouterNode
54-
RegisterRoute(method, path string, h HttpHandle) RouterNode
55-
SetNotFoundHandle(handler StandardHandle) Group
56-
}
57-
xGroup struct {
58-
prefix string
59-
middlewares []Middleware
60-
allRouterExpress map[string]struct{}
61-
server *HttpServer
62-
notFoundHandler StandardHandle
63-
}
64-
)
6542

6643
func NewGroup(prefix string, server *HttpServer) Group {
6744
g := &xGroup{prefix: prefix, server: server, allRouterExpress: make(map[string]struct{})}

0 commit comments

Comments
 (0)