html

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drawer

type Drawer struct {
	// contains filtered or unexported fields
}

Drawer is used for draw html

func Create

func Create(distAssets embed.FS) Drawer

Create new object instance

func (*Drawer) RenderHtml

func (drawer *Drawer) RenderHtml(resourceId string, results voter.VoteResults) (html []byte, err error)

RenderHtml generate html

Jump to

Keyboard shortcuts

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