utils

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZoneInfoFS embed.FS

Functions

func ConvertB64StringToBytes added in v1.0.8

func ConvertB64StringToBytes(b64_string string) (result []byte)

func ConvertBytesToB64String added in v1.0.8

func ConvertBytesToB64String(bytes []byte) (result string)

func DeriveKey added in v1.0.8

func DeriveKey(shared_secret []byte) []byte

func FormatTime

func FormatTime(input_time *time.Time) (result string)

func GetFormattedTimeString

func GetFormattedTimeString() (result string)

func GetFormattedTimeStringOBJ

func GetFormattedTimeStringOBJ() (result_string string, result_time time.Time)

func GetNowDateString

func GetNowDateString(now *time.Time) (result string)

func GetNowTimeOBJ

func GetNowTimeOBJ() (result time.Time)

func GetNowTimeString

func GetNowTimeString(now *time.Time) (result string)

func IsStringInArray

func IsStringInArray(target string, array []string) bool

func SetLocation

func SetLocation(location_string string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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