Skip to content

Commit 88aa6e0

Browse files
committed
style: optimize pkg names
1 parent 71b4add commit 88aa6e0

File tree

14 files changed

+9
-9
lines changed

14 files changed

+9
-9
lines changed
File renamed without changes.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Piano will respond to you.
44
5-
![piano](image/piano.png)
5+
![piano](images/piano.png)
66

77
PIANO is a simple and lightweight HTTP framework. More features will be supported gradually.
88

@@ -16,27 +16,27 @@ go get github.com/B1NARY-GR0UP/piano
1616

1717
### Hello World
1818

19-
[example](example/hello)
19+
[example](examples/hello)
2020

2121
### Route
2222

23-
[example](example/route)
23+
[example](examples/route)
2424

2525
### Group
2626

27-
[example](example/group)
27+
[example](examples/group)
2828

2929
### Query
3030

31-
[example](example/query)
31+
[example](examples/query)
3232

3333
### Form
3434

35-
[example](example/form)
35+
[example](examples/form)
3636

3737
### Hook
3838

39-
[example](example/hook)
39+
[example](examples/hook)
4040

4141
You can also go through the code for more information.
4242

core/bin/piano.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
log "github.com/B1NARY-GR0UP/inquisitor/core"
2727
"github.com/B1NARY-GR0UP/piano/core"
28-
"github.com/B1NARY-GR0UP/piano/middleware/recovery"
28+
"github.com/B1NARY-GR0UP/piano/middlewares/recovery"
2929
)
3030

3131
// Piano will respond to you.

core/routergroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (rg *RouterGroup) Group(relativePath string, handlers ...HandlerFunc) *Rout
5858
}
5959
}
6060

61-
// Use middleware or other custom handlers
61+
// Use middlewares or other custom handlers
6262
func (rg *RouterGroup) Use(middleware ...HandlerFunc) {
6363
rg.Handlers = append(rg.Handlers, middleware...)
6464
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)