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_windows.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// +build windows
package fasthttp
func addLeadingSlash(dst, src []byte) []byte {
// zero length and "C:/" case
if len(src) == 0 || (len(src) > 2 && src[1] != ':') {
dst = append(dst, '/')
}
return dst
}