 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Template
- func (syn *Template) Execute(writer io.Writer, data interface{}) error
- func (input *Template) ExecuteString(data interface{}) (string, error)
- func (syn Template) MarshalJSON() ([]byte, error)
- func (syn *Template) String() string
- func (syn Template) TreatAs() string
- func (syn *Template) UnmarshalJSON(arg []byte) error
 
- type TemplateMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
	// contains filtered or unexported fields
}
    Template used for creating synced templates parsed once
func (*Template) ExecuteString ¶
ExecuteString execute template with data
func (Template) MarshalJSON ¶
MarshalJSON marshal template to json string
func (*Template) UnmarshalJSON ¶
UnmarshalJSON un-marshal from json string
type TemplateMap ¶
 Click to show internal directories. 
   Click to hide internal directories.