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: 0

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