helper

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFiles

func GetFiles(folder string, isRecursive bool) ([]model.File, error)

GetFiles :

func GetNewFilePath added in v0.0.2

func GetNewFilePath(file model.File, sourceFolder, targetFolder string) (string, error)

GetNewFilePath :

func GetSubfolder added in v0.0.2

func GetSubfolder(file model.File, sourceFolder string) string

GetSubfolder :

func HasFile

func HasFile(filename string) bool

HasFile : Check if file exists in the current directory

func NumberOfDigits

func NumberOfDigits(number int) int

func ToString

func ToString(number int, digits ...int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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