qiniu / api.v6 Goto Github PK
View Code? Open in Web Editor NEWQiniu Resource (Cloud) Storage SDK for Golang (v6.x)
Qiniu Resource (Cloud) Storage SDK for Golang (v6.x)
产生链接的代码如下:
domain := "shanpowbookcover.qiniudn.com"
baseUrl := rs.MakeBaseUrl(domain, urlStr)
policy := rs.GetPolicy{}
return policy.MakeRequest(baseUrl, nil)
测试了几次,偶尔能够通过,偶尔不能,请查明原因。
一次 build 失败的记录:https://travis-ci.org/qiniu/api/builds/8578941
更改项目地址后,readme 里对应链接没有更改,全部 404
想通过savekey指定上传资源URI,但是发现如果SaveKey写成类似: img/$(etag)$(ext)的话,其中的/会被转义,我希望URL看起来像是有一个文件夹
https://github.com/qiniu/api/blob/develop/rs/token.go
该文件没有经过gofmt。应该还可能有别的文件也没有fmt,建议全局检查一次。
api.v6里面有依赖bytes和rpc这两个repo.
可事在SDK中增加表单上传的“ IsQiniuCallback”验证方法呢?
网站给了一个PHP版的, 但是golang和PHP有不小的差别,
一般用户到SDK的用户可能会用到IsQiniuCallback。
或者给个golang版的代码也行。
自己写了个, 但是老是通过不了:(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.