Versions in this module Expand all Collapse all v0 v0.4.0 Jul 1, 2021 Changes in this version + type AssetNode struct + Handle string + ID string + TypeName string + URL string + type GraphCMS struct + Debug bool + Exceptions map[string]string + NodeTypes []string + RenderData GraphResponse + SpecialCases map[string]string + Verbose bool + func (g *GraphCMS) Backup() + func (g *GraphCMS) CallGraphAPI(requestQuery string, requestVars string) (GraphResponse, error) + func (g *GraphCMS) DownloadAssets(data map[string]interface{}) + func (g *GraphCMS) DownloadContent() + func (g *GraphCMS) DownloadEnumerations() error + func (g *GraphCMS) DownloadModels() error + func (g *GraphCMS) DownloadSchemas() error + func (g *GraphCMS) GetAllEnumerations() []interface{} + func (g *GraphCMS) GetAllNodesByType(name string) map[string]interface{} + func (g *GraphCMS) GetEnumeration(name string) interface{} + func (g *GraphCMS) GetEnumerations() map[string]interface{} + func (g *GraphCMS) GetNodeFields(name string) map[string]interface{} + func (g *GraphCMS) GetNodeTypes() []string + func (g *GraphCMS) GetNodes() map[string]interface{} + func (g *GraphCMS) GetSchema(name string) (interface{}, error) + func (g *GraphCMS) GetSchemaQuery(name string) (string, string) + func (g *GraphCMS) GetSchemas() map[string]interface{} + func (g *GraphCMS) Init(url interface{}, key interface{}, stage interface{}, path interface{}) + func (g *GraphCMS) IsNodeType(name string) bool + func (g *GraphCMS) IsSpecialCase(name string) bool + func (g *GraphCMS) Pluralize(name string) string + func (g *GraphCMS) RenderJson(data map[string]interface{}) string + func (g *GraphCMS) RenderJsonPretty(data map[string]interface{}) string + func (g *GraphCMS) RenderTemplate(query string, template string, outputFilename string) + func (g *GraphCMS) SetFlags(debug bool, verbose bool) + func (g *GraphCMS) WriteFileJSON(data map[string]interface{}, folder string, filename string) + type GraphResponse struct + Data map[string]interface{} + Errors []struct{ ... } + type NodeFields struct + Type struct{ ... } + type NodeSubfield struct + Args []struct{ ... } + Description string + Name string + Type struct{ ... }