branding

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Brand

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

func (*Brand) ANSI

func (b *Brand) ANSI() ansicolor.Theme

func (*Brand) Info

func (b *Brand) Info() Info

type Builder

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

func New

func New(info Info) *Builder

New returns a new Brand Builder with the given slug.

func (*Builder) Build

func (b *Builder) Build() (*Brand, error)

func (*Builder) WithANSI

func (b *Builder) WithANSI(ansi ansicolor.Theme) *Builder

type Info

type Info struct {
	Name        string
	Version     string
	Slug        string
	Description string
}

Jump to

Keyboard shortcuts

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