helpers

package
v0.0.0-...-811597e Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EMSO_POMNOZITEV = []int{
	7,
	6,
	5,
	4,
	3,
	2,
	7,
	6,
	5,
	4,
	3,
	2,
}

Functions

func CheckIfLeapYear

func CheckIfLeapYear(year int) bool

func Contains

func Contains[T comparable](s []T, e T) bool

func FmtSanitize

func FmtSanitize[T any](toSanitize T) string

func GetCurrentSchoolYear

func GetCurrentSchoolYear() string

func GetMaxDayForMonth

func GetMaxDayForMonth(month int, year int) int

func Insert

func Insert[T any](a []T, index int, value T) []T

func Remove

func Remove[T any](s []T, i int) []T

func Sign

func Sign(doc []byte, outputPath string, pkcs12FilePath string, pkcs12Password string) error

func VerifyEMSO

func VerifyEMSO(emso string, gender string) bool

gender: male = 0 female = 1 Grozote

Types

This section is empty.

Jump to

Keyboard shortcuts

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