builtin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: BSD-2-Clause, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfInt

func IfInt(cond bool, yes, no int) int

IfInt returns yes when cond is true, no otherwise.

func IfString

func IfString(cond bool, yes, no string) string

IfString returns yes when cond is true, no otherwise.

func UnlessInt

func UnlessInt(cond bool, yes, no int) int

UnlessInt returns yes unless cond is true, no otherwise.

func UnlessString

func UnlessString(cond bool, yes, no string) string

UnlessString returns yes unless cond is true, no otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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