carUser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Car

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

User car

func (*Car) CanShow

func (c *Car) CanShow() bool

CanShow decides if this car needs to be displayed.

func (*Car) GetPaint

func (c *Car) GetPaint() string

GetPaint returns the calculated end paint string for the car.

func (*Car) GetSeparatorPaint

func (c *Car) GetSeparatorPaint() string

GetSeparatorPaint overrides the Fg/Bg colours of the right hand side separator through ENV variables.

func (*Car) GetSeparatorSymbol

func (c *Car) GetSeparatorSymbol() string

GetSeparatorSymbol overrides the symbol of the right hand side separator through ENV variables.

func (*Car) GetSeparatorTemplate

func (c *Car) GetSeparatorTemplate() string

GetSeparatorTemplate overrides the template of the right hand side separator through ENV variable.

func (*Car) Render

func (c *Car) Render(out chan<- string)

Render builds and passes the end product of a completely composed car onto the channel.

Jump to

Keyboard shortcuts

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