The new home of Conversio's Shopify Go library.
Note: The library does not have implementations of all Shopify resources, but it is being used in production and should be stable for usage. PRs for new resources and endpoints are welcome, or you can simply implement some yourself as-you-go. See the section "Using your own models" for more info.
Supported Go Versions
This library has been tested against the following versions of Go
1.10
1.11
1.12
1.13
1.14
1.15
Install
$ go get github.com/bold-commerce/go-shopify
Use
import " github.com/bold-commerce/go-shopify "
This gives you access to the goshopify package.
Oauth
If you don't have an access token yet, you can obtain one with the oauth flow. Something like this will work:
// Create an app somewhere. app := goshopify. App { ApiKey : "abcd" , ApiSecret : "efgh" , RedirectUrl : " https://example.com/shopify/callback " , Scope : ...
Comentarios
Publicar un comentario