logo

package
v0.0.0-...-34721a0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logo struct {
	Id              string
	LightMode       bool
	Image           string // 图片
	ImageInCollapse string // Collapse模式的图片
	ImageInLight    string // Light模式的图片
}
func NewLogo(image string, images ...string) *Logo

func (*Logo) Generate

func (logo *Logo) Generate() template.HTML

func (*Logo) SetLightMode

func (logo *Logo) SetLightMode(light bool) *Logo

func (*Logo) SetLightModeJS

func (logo *Logo) SetLightModeJS(light bool) template.JS

Jump to

Keyboard shortcuts

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