boolean

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: GPL-3.0 Imports: 2 Imported by: 2

README

Boolean

A boolean-to-string parser.

Documentation

Index

Constants

View Source
const (
	TrueLc  = "true"
	FalseLc = "false"
	YesLc   = "yes"
	NoLc    = "no"
	One     = "1"
	Zero    = "0"
)
View Source
const ErrfBadBoolean = "bad boolean value: '%v'"

Variables

This section is empty.

Functions

func FromString

func FromString(s string) (b bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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