helper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[T comparable](value T, arr []T) bool

func CountLinesInFile

func CountLinesInFile(filePath string) (int, error)

func CreateFolder

func CreateFolder(dirPath string) error

func DeleteFolder

func DeleteFolder(dirPath string) error

func Find

func Find[T comparable](arr []T, value T) *T

func IsValidPath

func IsValidPath(path string) bool

func ReadLine

func ReadLine(filename string, lineNumber int) (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