helpers

package
v0.0.0-...-bee458a Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountAge

func CountAge(birthday time.Time) int

Types

type Date

type Date time.Time

func (Date) GormDataType

func (Date) GormDataType() string

func (*Date) MarshalJSON

func (d *Date) MarshalJSON() ([]byte, error)

func (*Date) Scan

func (d *Date) Scan(value interface{}) error

func (*Date) String

func (d *Date) String() string

func (*Date) Time

func (d *Date) Time() time.Time

func (*Date) UnmarshalJSON

func (d *Date) UnmarshalJSON(bs []byte) error

func (Date) Value

func (d Date) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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