ptypes

package
v0.0.0-...-fda232b Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timestamp

type Timestamp struct {
	*types.Timestamp
}

Timestamp is the main type you can use to represent timestamp

func (*Timestamp) Scan

func (m *Timestamp) Scan(src interface{}) error

Scan will convert the time.time into timestamp

func (*Timestamp) Unmarshal

func (m *Timestamp) Unmarshal(b []byte) error

Unmarshal will unmarshal bytes into Timestamp object

Jump to

Keyboard shortcuts

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