Documentation ¶
Index ¶
- func Export(model *sadl.Model, conf *sadl.Data) error
- func FromSadl(model *sadl.Model, conf *sadl.Data) (string, error)
- func Import(paths []string, conf *sadl.Data) (*sadl.Model, error)
- func IsValidFile(path string) bool
- type GraphqlWriter
- func (w *GraphqlWriter) Begin()
- func (w *GraphqlWriter) Emit(format string, args ...interface{})
- func (w *GraphqlWriter) EmitEnumDef(td *sadl.TypeDef) error
- func (w *GraphqlWriter) EmitStructDef(td *sadl.TypeDef) error
- func (w *GraphqlWriter) EmitUnionDef(td *sadl.TypeDef) error
- func (w *GraphqlWriter) End() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidFile ¶
Types ¶
type GraphqlWriter ¶
type GraphqlWriter struct {
// contains filtered or unexported fields
}
func (*GraphqlWriter) Begin ¶
func (w *GraphqlWriter) Begin()
func (*GraphqlWriter) Emit ¶
func (w *GraphqlWriter) Emit(format string, args ...interface{})
func (*GraphqlWriter) EmitEnumDef ¶
func (w *GraphqlWriter) EmitEnumDef(td *sadl.TypeDef) error
func (*GraphqlWriter) EmitStructDef ¶
func (w *GraphqlWriter) EmitStructDef(td *sadl.TypeDef) error
func (*GraphqlWriter) EmitUnionDef ¶
func (w *GraphqlWriter) EmitUnionDef(td *sadl.TypeDef) error
func (*GraphqlWriter) End ¶
func (w *GraphqlWriter) End() string
Click to show internal directories.
Click to hide internal directories.