mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-15 17:22:44 +02:00
go fmt whole project.
This commit is contained in:
parent
c7a178e5a4
commit
f85d4d312f
14 changed files with 177 additions and 180 deletions
|
@ -4,9 +4,9 @@ package middleware
|
|||
// a pointer so it fits in an interface{} without allocation. This technique
|
||||
// for defining context keys was copied from Go 1.7's new use of context in net/http.
|
||||
type ctxKey struct {
|
||||
name string
|
||||
name string
|
||||
}
|
||||
|
||||
func (k *ctxKey) String() string {
|
||||
return "neko/ctx/" + k.name
|
||||
return "neko/ctx/" + k.name
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue