libtime

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 3 Imported by: 0

README

libtime

Documentation

Index

Constants

View Source
const (
	ISO8601 = "15:04-07:00"
)

Variables

View Source
var (
	ErrTimeParse = errors.New(`ErrTimeParse: should be a string formatted as "15:04-07:00"`)
	ErrTimeScan  = errors.New(`ErrTimeScan: source must be []byte`)
)

Functions

This section is empty.

Types

type Time

type Time struct {
	time.Time
}

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) Scan

func (t *Time) Scan(src interface{}) error

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(b []byte) error

func (Time) Value

func (t Time) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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