utils

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTemplateToString

func RenderTemplateToString(engine renderer.Engine, template string, vars map[string]interface{}) (string, error)

Types

type MailerWriter

type MailerWriter struct {
	io.Writer
	// contains filtered or unexported fields
}

func (*MailerWriter) Header

func (mw *MailerWriter) Header() http.Header

func (*MailerWriter) Value

func (mw *MailerWriter) Value() []byte

func (*MailerWriter) Write

func (mw *MailerWriter) Write(value []byte) (int, error)

func (*MailerWriter) WriteHeader

func (mw *MailerWriter) WriteHeader(int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL