1 Star 1 Fork 0

xd5/fasthttp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uri_unix.go 202 Bytes
一键复制 编辑 原始数据 按行查看 历史
Aleksandr Razumov 提交于 2016-05-04 18:22 +08:00 . go fmt
// +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
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/xd5/fasthttp.git
git@gitee.com:xd5/fasthttp.git
xd5
fasthttp
fasthttp
5116aa64e038

搜索帮助