ratelcast

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToNullable

func BoolToNullable(v bool) *bool

BoolToNullable converts bool to *bool

func DurationPbToDuration

func DurationPbToDuration(d *durationpb.Duration) time.Duration

DurationPbToDuration converts *durationpb.Duration to time.Duration

func DurationToDurationPb

func DurationToDurationPb(d time.Duration) *durationpb.Duration

DurationToDurationPb converts time.Duration to *durationpb.Duration

func Int64ToInt64Value

func Int64ToInt64Value(v int64) *wrapperspb.Int64Value

Int64ToInt64Value converts int64 to *wrapperspb.Int64Value

func Int64ToNullable

func Int64ToNullable(v int64) *int64

Int64ToNullable converts int64 to *int64

func Int64ValueToInt64

func Int64ValueToInt64(v *wrapperspb.Int64Value) int64

Int64ValueToInt64 converts *wrapperspb.Int64Value to int64

func NullableBool

func NullableBool(v *bool) bool

NullableBool converts *bool to bool

func NullableInt64

func NullableInt64(v *int64) int64

NullableInt64 converts *int64 to int64 (for wrappers)

func NullableString

func NullableString(v *string) string

NullableString converts *string to string

func StringToNullable

func StringToNullable(v string) *string

StringToNullable converts string to *string

func TimeToTimestamp

func TimeToTimestamp(t time.Time) *timestamppb.Timestamp

TimeToTimestamp converts time.Time to *timestamppb.Timestamp

func TimestampToTime

func TimestampToTime(ts *timestamppb.Timestamp) time.Time

TimestampToTime converts *timestamppb.Timestamp to time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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