Versions in this module Expand all Collapse all v0 v0.0.1 Jul 15, 2018 Changes in this version + var ErrComponentNotParsed = errors.New("transform must be called after parse") + func ProcessAll(base string) error + type Component struct + Imports []string + Name string + Package string + Struct bool + Style string + Template string + UniqueID string + func Parse(r io.Reader, name string) (*Component, error) + func (c *Component) QuotedStyle() string + func (c *Component) QuotedTemplate() string + func (c *Component) Transform(w io.Writer) error + func (c *Component) TransformStyle() + func (c *Component) WriteImports() string + type Transpiler struct + func NewTranspiler(r io.ReadCloser, createStruct bool, ...) (*Transpiler, error) + func (s *Transpiler) Code() string