Update vendor

This commit is contained in:
Morgan Bazalgette
2017-02-02 13:53:44 +01:00
parent 68a9808942
commit 736c904f65
88 changed files with 25004 additions and 0 deletions

12
vendor/github.com/valyala/fasthttp/uri_unix.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// +build !windows
package fasthttp
func addLeadingSlash(dst, src []byte) []byte {
// add leading slash for unix paths
if len(src) == 0 || src[0] != '/' {
dst = append(dst, '/')
}
return dst
}