types

package
v0.0.0-...-a37b166 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: MIT Imports: 2 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// True is a convenience for pointer to true
	True = Bool(&t)

	// False is a convenience for pointer to false
	False = Bool(&f)
)

Functions

This section is empty.

Types

type Bool

type Bool *bool

Bool is a convenience typedef for pointer to bool so that we can differentiate between unset and false.

type RGBA

type RGBA color.RGBA

RGBA amends image/color.RGBA to have a MarshalJSON that meets the expectations of chartjs.

func (RGBA) MarshalJSON

func (c RGBA) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the json.Marshaler interface.

Jump to

Keyboard shortcuts

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