utils

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileExt

func GetFileExt(path string) string

GetFileExt gets extension of file, in lower case

func IsReadableDirectory

func IsReadableDirectory(path string) bool

IsReadableDirectory checks whether argument is a readable directory

func IsReadableFile

func IsReadableFile(path string) bool

IsReadableFile checks whether argument is a readable file

func LineSeparatedStrToMap

func LineSeparatedStrToMap(lineSeparatedString string) (entries set.Set[string], firstFew []string)

LineSeparatedStrToMap converts a line-separated string to a map with keys and empty values

Types

This section is empty.

Jump to

Keyboard shortcuts

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