ptypes

package
v0.0.0-...-ec57856 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 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