helper

package
v0.0.0-...-b851740 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

helper functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func FetchEventInformation

func FetchEventInformation(inviteId string, isProtected bool) model.Invite

used by api

func FetchEventInformationByGuestId

func FetchEventInformationByGuestId(id int) model.Invite

used by sendInvite function (internal)

func FindDifference

func FindDifference(a, b []int) (diff []int)

func FormatSpanishDate

func FormatSpanishDate(t time.Time) string

func HashPassword

func HashPassword(password string) (string, error)

func ParseTemplate

func ParseTemplate(t *template.Template, vars interface{}) string

func ProcessTemplateFile

func ProcessTemplateFile(fileName string, vars interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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