core

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_core_money_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Money

type Money struct {
	Rubles  int64 `protobuf:"varint,1,opt,name=rubles,proto3" json:"rubles,omitempty"`
	Pennies int32 `protobuf:"varint,2,opt,name=pennies,proto3" json:"pennies,omitempty"`
	// contains filtered or unexported fields
}

func (*Money) Descriptor deprecated

func (*Money) Descriptor() ([]byte, []int)

Deprecated: Use Money.ProtoReflect.Descriptor instead.

func (*Money) GetPennies

func (x *Money) GetPennies() int32

func (*Money) GetRubles

func (x *Money) GetRubles() int64

func (*Money) ProtoMessage

func (*Money) ProtoMessage()

func (*Money) ProtoReflect

func (x *Money) ProtoReflect() protoreflect.Message

func (*Money) Reset

func (x *Money) Reset()

func (*Money) String

func (x *Money) String() string

Jump to

Keyboard shortcuts

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