style

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Key string
	Val string
}

type Attributes

type Attributes []html.Attribute

func (Attributes) Merge

func (as Attributes) Merge(newAs Attributes) Attributes

func (Attributes) String

func (as Attributes) String() string

type MapTheme

type MapTheme map[string]Attributes

func (MapTheme) Attributes

func (t MapTheme) Attributes(tag string) Attributes

func (MapTheme) Exists

func (t MapTheme) Exists(tag string) bool

type Theme

type Theme interface {
	Attributes(tag string) Attributes
	Exists(tag string) bool
}

Jump to

Keyboard shortcuts

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