rawoptional

package
v3.68.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 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 Bool

type Bool struct {
	Value    bool
	HasValue bool
}

func (*Bool) ToProto

func (b *Bool) ToProto() *bool

type Duration

type Duration struct {
	Value    time.Duration
	HasValue bool
}

func (*Duration) ToProto

func (v *Duration) ToProto() *durationpb.Duration

type Int64

type Int64 struct {
	Value    int64
	HasValue bool
}

func (*Int64) ToProto

func (v *Int64) ToProto() *int64

type Time

type Time struct {
	Value    time.Time
	HasValue bool
}

func (*Time) MustFromProto

func (v *Time) MustFromProto(proto *timestamppb.Timestamp)

func (*Time) ToProto

func (v *Time) ToProto() *timestamppb.Timestamp

Jump to

Keyboard shortcuts

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