text

package
v0.0.0-...-f839e32 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsText

func IsText(a interface{}) bool

IsText checks whether provided variable is a text. Accepts string or []byte

func IsTextFile

func IsTextFile(filename string) (bool, error)

IsTextFile check whether provided filename specifies path to a readable file with valid text content

Types

This section is empty.

Jump to

Keyboard shortcuts

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