utils

package
v0.0.0-...-e7aebcb Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserHash

func GetUserHash(username string, password string, canteen string) string

func NormalizeDateString

func NormalizeDateString(dateStr string) string

for database timestamps

func ParseDate

func ParseDate(dateString string) (time.Time, error)

ParseDate parses a date string in the format "dd.mm.yyyy" and returns a time.Time object.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳