shopify

package module
v0.0.0-...-73589f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2018 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ErrorUnauthorized = "[API] Invalid API key or access token (unrecognized login or wrong password)"
)

Variables

This section is empty.

Functions

func IsErrorUnathorized

func IsErrorUnathorized(err error) bool

Types

type Auth

type Auth struct {
	Key    string
	Secret string
}

func Authenticate

func Authenticate() *Auth

func (*Auth) NewStore

func (a *Auth) NewStore(name string) *Store

type Error

type Error struct {
	Errors string `json:"errors,omitempty"`
}

func (*Error) Error

func (e *Error) Error() string

type Product

type Product struct {
	Title       string `json:"title,omitempty"`
	BodyHTML    string `json:"body_html,omitempty"`
	Vendor      string `json:"vendor,omitempty"`
	ProductType string `json:"product_type,omitempty"`
	Tags        string `json:"tags,omitempty"`
}

type Store

type Store struct {
	Name string
	// contains filtered or unexported fields
}

func (*Store) Create

func (s *Store) Create(in interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址