proto

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 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 NullProtoTimestamp

type NullProtoTimestamp struct {
	Timestamp **timestamp.Timestamp
}

NullProtoTimestamp wraps a timestamp.Timestamp into a Scanner/Valuer interface

func NullTimestamp

func NullTimestamp(t **timestamp.Timestamp) *NullProtoTimestamp

NullTimestamp converts a timestamp.Timestamp into a wrapped NullProtoTimestamp

func (*NullProtoTimestamp) Scan

func (nt *NullProtoTimestamp) Scan(value interface{}) error

Scan implements the Scanner interface.

func (NullProtoTimestamp) Value

func (nt NullProtoTimestamp) Value() (driver.Value, error)

Value implements the driver Valuer interface.

Jump to

Keyboard shortcuts

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