【文件属性】:
文件名称:GoURLShortener:使用 http 的 URL 缩短器
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-04 16:27:08
Go
戈伊斯格
使用简单命令行 URL 缩短器。
获取代码
go get github.com/NickPresta/GoURLShortener
用法
在您的代码中导入此库以使用它。 包名是goisgd 。
import (
"github.com/NickPresta/GoURLShortener"
)
缩短 URI:
uri, err := goisgd.Shorten("http://google.ca/")
有关examples/main.go请参见examples/main.go 。
文档
查看上的文档。
测试
没有测试。
变更日志
有关详细信息,请参阅CHANGELOG.md 。
执照
这是在下发布的。 有关详细信息,请参阅LICENSE.md 。
【文件预览】:
GoURLShortener-master
----goisgd.go(671B)
----README.md(803B)
----CHANGELOG.md(128B)
----LICENSE.md(1KB)
----example()
--------main.go(356B)