Documentation
¶
Index ¶
- type Helper
- func (helper *Helper) CreateTemplate(templateString string) (*template.Template, error)
- func (helper *Helper) ExecuteTemplate(templateString string, data any) (string, error)
- func (helper *Helper) RegisterFunction(name string, function any)
- func (helper *Helper) StandardDate(date any) string
- func (helper *Helper) TimeLocation() *time.Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func (*Helper) CreateTemplate ¶
func (*Helper) ExecuteTemplate ¶
func (*Helper) RegisterFunction ¶
func (*Helper) StandardDate ¶
func (*Helper) TimeLocation ¶
Click to show internal directories.
Click to hide internal directories.