types

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date time.Time

Date é a data sem o tempo. Converte em yyyy-mm-dd

func NewDate

func NewDate(s string) (Date, error)

NewDate cria um novo Date a partir de uma string yyyy-mm-dd

func (Date) MarshalJSON

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

MarshalJSON implementação

func (*Date) Scan added in v1.0.0

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

Scan implementação

func (*Date) UnmarshalJSON

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

UnmarshalJSON implementação

func (Date) Value

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

Value implementação

Jump to

Keyboard shortcuts

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