cast

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package cast contains template types and functions.

Index

Constants

This section is empty.

Variables

View Source
var ΘEnum _ΘEnum

ΘEnum is a template singletone for code generation.

Functions

This section is empty.

Types

type Θ

type Θ int

Θ is a template type for code generation.

func (Θ) IsValid

func (v Θ) IsValid() bool

IsValid returns true if the value of Θ is valid.

func (Θ) IsZero

func (v Θ) IsZero() bool

IsZero returns true if v is not initialized.

func (Θ) MarshalText

func (v Θ) MarshalText() ([]byte, error)

MarshalText encodes Θ to a text representation.

func (Θ) String

func (v Θ) String() (str string)

func (*Θ) UnmarshalText

func (v *Θ) UnmarshalText(data []byte) error

UnmarshalText decodes Θ from a text representation.

Jump to

Keyboard shortcuts

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