go-shippo:Shippo API-Golang包装器

时间:2021-05-16 11:20:46
【文件属性】:
文件名称:go-shippo:Shippo API-Golang包装器
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-16 11:20:46
golang shippo Go Shippo API Golang包装器 文档: : 例子 package main import ( "encoding/json" "errors" "fmt" "os" "github.com/coldbrewcloud/go-shippo" "github.com/coldbrewcloud/go-shippo/client" "github.com/coldbrewcloud/go-shippo/models" ) func main () { privateToken := os . Getenv ( "PRIVATE_TOKEN" ) if privateToken == "" { panic ( errors . New ( "Please set $PRIVATE_TOKEN with your Shippo API private token
【文件预览】:
go-shippo-master
----client()
--------shipment.go(3KB)
--------batch.go(2KB)
--------tracking_status.go(1KB)
--------manifest.go(1KB)
--------customs.go(3KB)
--------address.go(1KB)
--------rate.go(1KB)
--------parcel.go(1KB)
--------refund.go(1KB)
--------carrier_account.go(2KB)
--------client.go(5KB)
--------transaction.go(1KB)
----.gitignore(14B)
----Makefile(320B)
----errors()
--------api_error.go(323B)
----models()
--------shipment.go(4KB)
--------batch.go(2KB)
--------tracking_status.go(1KB)
--------manifest.go(599B)
--------customs.go(3KB)
--------address.go(1KB)
--------rate.go(1KB)
--------parcel.go(1KB)
--------refund.go(349B)
--------carrier_account.go(483B)
--------transaction.go(2KB)
--------common.go(3KB)
----LICENSE(1KB)
----README.md(3KB)
----VERSION(5B)
----_examples()
--------first_shipment()
--------address_validation()
--------carrier_accounts()
----glide.lock(229B)
----shippo.go(545B)
----glide.yaml(143B)

网友评论