mirror of https://github.com/gogs/gogs.git
vendor: update gopkg.in/macaron.v1
parent
c4fdc26fa5
commit
f3a228ed61
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
]
|
||||
}
|
|
@ -69,6 +69,7 @@ There are already many [middlewares](https://github.com/go-macaron) to simplify
|
|||
## Use Cases
|
||||
|
||||
- [Gogs](https://gogs.io): A painless self-hosted Git Service
|
||||
- [Grafana](http://grafana.org/): The tool for beautiful monitoring and metric analytics & dashboards
|
||||
- [Peach](https://peachdocs.org): A modern web documentation server
|
||||
- [Go Walker](https://gowalker.org): Go online API documentation
|
||||
- [Switch](https://gopm.io): Gopm registry
|
||||
|
|
|
@ -51,7 +51,7 @@ func Logger() Handler {
|
|||
rw := ctx.Resp.(ResponseWriter)
|
||||
ctx.Next()
|
||||
|
||||
content := fmt.Sprintf("%s: Completed %s %v %s in %v", time.Now().Format(LogTimeFormat), ctx.Req.RequestURI, rw.Status(), http.StatusText(rw.Status()), time.Since(start))
|
||||
content := fmt.Sprintf("%s: Completed %s %s %v %s in %v", time.Now().Format(LogTimeFormat), ctx.Req.Method, ctx.Req.RequestURI, rw.Status(), http.StatusText(rw.Status()), time.Since(start))
|
||||
if ColorLog {
|
||||
switch rw.Status() {
|
||||
case 200, 201, 202:
|
||||
|
|
|
@ -32,7 +32,7 @@ import (
|
|||
"github.com/go-macaron/inject"
|
||||
)
|
||||
|
||||
const _VERSION = "1.2.1.0213"
|
||||
const _VERSION = "1.2.1.0219"
|
||||
|
||||
func Version() string {
|
||||
return _VERSION
|
||||
|
|
|
@ -1,68 +0,0 @@
|
|||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/docs"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/cache"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/session"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/binding"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/i18n"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/bindata"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/pongo2"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/captcha"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/csrf"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/gzip"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/switcher"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/inject"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/jade"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/oauth2"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/toolbox"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/method"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/sockets"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/macaron.peach"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/examples"
|
||||
},
|
||||
{
|
||||
"path": "/Users/unknwon/Applications/Go/src/github.com/go-macaron/mab"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -555,10 +555,10 @@
|
|||
"revisionTime": "2016-08-08T14:54:09Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "XevKi11X5xpgqjYIahVgsx/8pFk=",
|
||||
"checksumSHA1": "qM9ubEa57g4oNa6JLFQ+e1TCMno=",
|
||||
"path": "gopkg.in/macaron.v1",
|
||||
"revision": "a325110f8b392bce3e5cdeb8c44bf98078ada3be",
|
||||
"revisionTime": "2017-02-13T09:12:08Z"
|
||||
"revision": "8be5635c28f40a85ce8e8f65c6118b4ee4e548e9",
|
||||
"revisionTime": "2017-02-19T20:49:11Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "6QPjE+qflEBHg+JPJd9e4iQuRAk=",
|
||||
|
|
Loading…
Reference in New Issue