gvalfnc

package
v0.0.0-...-7687a33 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CastFloat

func CastFloat(i any) (float64, error)

func CastInt

func CastInt(i any) (int, error)

func CastString

func CastString(i any) (string, error)

func ConcatStrings

func ConcatStrings(parts ...any) (string, error)

@todo

func Date

func Date(in any) (time.Time, error)

func Day

func Day(in any) (int, error)

func IsNil

func IsNil(i any) bool

func Month

func Month(in any) (int, error)

func Now

func Now() time.Time

func PrepMod

func PrepMod(base interface{}, mod interface{}) (*time.Time, int, error)

func Quarter

func Quarter(in any) (int, error)

func StrfTime

func StrfTime(base interface{}, f string) (string, error)

Strftime formats time with POSIX standard format More details here: https://github.com/lestrrat-go/strftime#supported-conversion-specifications

func Year

func Year(in any) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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