util

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

check if a slice contains a string or not

func ListDir

func ListDir(dirPth string, suffix string) (files []string, err error)

list all files in the directory, you can also specify the suffix so you can get the files of that type only

func Max

func Max(x ...int) int

func Min

func Min(x ...int) int

func Unzip

func Unzip(src string, dest string) ([]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