command
module
Version:
v4.1.0
Opens a new window with list of versions in this module.
Published: Dec 19, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-shopify-graphql-model
This is a simple library to help you use Shopify's GraphQL objects in your Go code.
Getting started
-
Install dependencies
yarn
-
Fetch the Shopify graphql schema
STORE=my-store ACCESS_TOKEN=shpca_xxxxx API_VERSION=2023-07 yarn fetch
-
Rename or copy its content from result.graphql
to schema.graphql
-
Remove the following declaration from schema.graphql
so that models can be generated
schema {
query: QueryRoot
mutation: Mutation
}
-
Generate models
go run main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
graph
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.