dbtime

package
v0.0.0-...-2e43ae5 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTime

type DBTime time.Time

DBTime is a type suitable for direct importing into databases like BigQuery, formatted like 2006-01-02 15:04:05.000000 UTC.

func Ptr

func Ptr(t time.Time) *DBTime

func (*DBTime) MarshalJSON

func (dbt *DBTime) MarshalJSON() ([]byte, error)

func (*DBTime) UnmarshalJSON

func (dbt *DBTime) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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