Documentation ¶ Index ¶ type HTML func NewHTML(sourceFile string) *HTML func (h *HTML) InjectJS(script *JS) *HTML func (h *HTML) Render(destinationFile string, releaseBuild bool) error type JS func NewJS(destination, scriptFile string, content []byte) *JS func (j *JS) GetScriptSource(releaseBuild bool) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HTML ¶ type HTML struct { // contains filtered or unexported fields } func NewHTML ¶ func NewHTML(sourceFile string) *HTML func (*HTML) InjectJS ¶ func (h *HTML) InjectJS(script *JS) *HTML func (*HTML) Render ¶ func (h *HTML) Render(destinationFile string, releaseBuild bool) error type JS ¶ type JS struct { // contains filtered or unexported fields } func NewJS ¶ func NewJS(destination, scriptFile string, content []byte) *JS func (*JS) GetScriptSource ¶ func (j *JS) GetScriptSource(releaseBuild bool) (string, error) Source Files ¶ View all Source files html.go js.go Click to show internal directories. Click to hide internal directories.