utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(cond bool, errorM string)

func CreateFileWithPath

func CreateFileWithPath(path string) (*os.File, error)

func GetFiles

func GetFiles(path, ext string) ([]string, string)

func IsAlpha

func IsAlpha(char byte) bool

checks if the 1st byte-character is an ASCII alphabet letter

func IsLower

func IsLower(char byte) bool

checks if ASCII lowercase

func IsSpace

func IsSpace(s string) bool

checks if the entire string is a single ASCII whitespace

func IsSymbolChar

func IsSymbolChar(char byte) bool

func IsUpper

func IsUpper(char byte) bool

checks if ASCII uppercase

func ProcessFlags

func ProcessFlags(path, ext, OutDir string, dec bool) ([]string, string, string)

func WriteStringToFile

func WriteStringToFile(path, content string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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