Help us shape the future of Go! Take the 2026 Go Developer Survey

strings

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 57

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTruthy

func IsTruthy(val string) bool

IsTruthy returns true if a string is a truthy value. Truthy values are "y", "yes", "true", "t", "on", "1" (case-insensitive); everything else is false.

func IsYaml

func IsYaml(fileName string) bool

IsYaml checks whether the file is yaml or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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