Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileHeaderText = "// Code generated by gqlassist; DO NOT EDIT.\n\n"
)
Variables ¶
This section is empty.
Functions ¶
func ParseTemplate ¶
Types ¶
type GraphQLTypeDefGenerator ¶
type GraphQLTypeDefGenerator struct {
// contains filtered or unexported fields
}
func New ¶
func New(options GraphQLTypeDefGeneratorConfig, logger *log.Logger) *GraphQLTypeDefGenerator
func (*GraphQLTypeDefGenerator) FetchRemoteSchema ¶
func (g *GraphQLTypeDefGenerator) FetchRemoteSchema() (string, error)
func (*GraphQLTypeDefGenerator) Generate ¶
func (g *GraphQLTypeDefGenerator) Generate() error
func (*GraphQLTypeDefGenerator) GetOutputDirectory ¶
func (g *GraphQLTypeDefGenerator) GetOutputDirectory() string
func (*GraphQLTypeDefGenerator) GetTemplates ¶
func (g *GraphQLTypeDefGenerator) GetTemplates(params map[string]interface{}) map[string]*template.Template
getTemplates returns a template map (filename->template)
Click to show internal directories.
Click to hide internal directories.