utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateXLSXFromCSV added in v0.0.6

func GenerateXLSXFromCSV(csvPath string, XLSXPath string, delimiter rune) error

func GetAllCheltuieliFiles added in v0.0.2

func GetAllCheltuieliFiles(filterYear string, user auth.Account) []string

func GetAllDeclaratiiFiles added in v0.0.2

func GetAllDeclaratiiFiles(filterYear string, user auth.Account) []string

func GetAllDirs added in v0.0.2

func GetAllDirs(user auth.Account) []string

func GetAllDirsForYear added in v0.0.2

func GetAllDirsForYear(filterYear string, user auth.Account) []string

func GetAllIncasariExtraFiles added in v0.0.4

func GetAllIncasariExtraFiles(filterYear string, user auth.Account) []string

func GetAllIncasariFiles added in v0.0.2

func GetAllIncasariFiles(filterYear string, user auth.Account) []string

func GetAllStocareFiles added in v0.0.2

func GetAllStocareFiles(filterYear string, user auth.Account) []string

func GetAniInregistrati

func GetAniInregistrati(user auth.Account) []string

func GetHostIp

func GetHostIp() string

func Open

func Open(url string)

func SliceContains

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

func SmallerImg

func SmallerImg(path string)

func ZipDir

func ZipDir(source, target string) error

Usage:

if err := zipSource("src", "dst.zip"); err != nil {
	log.Fatal(err)
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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