Documentation ¶ Index ¶ Constants func RenderTemplate(query string, state map[string]any) (string, error) type File func Parse(b []byte, state map[string]any) (*File, error) func (f *File) AppendStore(val map[string]any, state map[string]any) func (f *File) CmpOpts() ([]cmp.Option, error) func (f *File) Execute(state map[string]any, ex func() (any, error)) error Constants ¶ View Source const ( NotNullOption = "NOTNULL" IgnoreOption = "IGNORE" ) Variables ¶ This section is empty. Functions ¶ func RenderTemplate ¶ func RenderTemplate(query string, state map[string]any) (string, error) Types ¶ type File ¶ type File struct { Query string Opts map[string]string Returns string Store map[string]string } func Parse ¶ func Parse(b []byte, state map[string]any) (*File, error) func (*File) AppendStore ¶ func (f *File) AppendStore(val map[string]any, state map[string]any) func (*File) CmpOpts ¶ func (f *File) CmpOpts() ([]cmp.Option, error) func (*File) Execute ¶ func (f *File) Execute(state map[string]any, ex func() (any, error)) error Source Files ¶ View all Source files file.go parser.go template.go Click to show internal directories. Click to hide internal directories.