Documentation ¶
Index ¶
- Variables
- type Decimal
- func (d *Decimal) Add(d2 *Decimal) *Decimal
- func (d *Decimal) Decimal() decimal.Decimal
- func (*Decimal) Descriptor() ([]byte, []int)deprecated
- func (d *Decimal) Div(d2 *Decimal) (*Decimal, error)
- func (x *Decimal) GetValue() string
- func (d *Decimal) Mul(d2 *Decimal) (*Decimal, error)
- func (d *Decimal) Neg() *Decimal
- func (*Decimal) ProtoMessage()
- func (x *Decimal) ProtoReflect() protoreflect.Message
- func (x *Decimal) Reset()
- func (d *Decimal) Scan(src any) error
- func (x *Decimal) String() string
- func (d *Decimal) Sub(d2 *Decimal) *Decimal
- func (d *Decimal) ToShop() (decimal.Decimal, error)
- func (d *Decimal) ToString() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_j5_types_decimal_v1_decimal_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Decimal ¶
type Decimal struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func FromString ¶
func (*Decimal) Descriptor
deprecated
func (*Decimal) ProtoMessage ¶
func (*Decimal) ProtoMessage()
func (*Decimal) ProtoReflect ¶
func (x *Decimal) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.