Documentation
¶
Index ¶
- Variables
- type Date
- func (*Date) Descriptor() ([]byte, []int)deprecated
- func (x *Date) GetDays() int32
- func (x *Date) GobDecode(data []byte) error
- func (x *Date) GobEncode() ([]byte, error)
- func (x *Date) GormDataType() string
- func (x *Date) MarshalBinary() ([]byte, error)
- func (x *Date) MarshalGQL(w io.Writer)
- func (x *Date) MarshalJSON() ([]byte, error)
- func (x *Date) MarshalText() ([]byte, error)
- func (*Date) ProtoMessage()
- func (x *Date) ProtoReflect() protoreflect.Message
- func (x *Date) Reset()
- func (x *Date) Scan(value interface{}) error
- func (x *Date) String() string
- func (x *Date) Time() time.Time
- func (x *Date) UnmarshalBinary(data []byte) error
- func (x *Date) UnmarshalGQL(v interface{}) error
- func (x *Date) UnmarshalJSON(data []byte) error
- func (x *Date) UnmarshalText(data []byte) error
- func (x *Date) Value() (driver.Value, error)
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetMillis() int64
- func (ts *Timestamp) GobDecode(data []byte) error
- func (ts *Timestamp) GobEncode() ([]byte, error)
- func (ts *Timestamp) GormDataType() string
- func (ts *Timestamp) MarshalBinary() ([]byte, error)
- func (ts *Timestamp) MarshalJSON() ([]byte, error)
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (ts *Timestamp) Scan(value interface{}) (err error)
- func (x *Timestamp) String() string
- func (ts *Timestamp) Time() time.Time
- func (ts *Timestamp) UnmarshalBinary(data []byte) error
- func (ts *Timestamp) UnmarshalJSON(data []byte) error
- func (ts *Timestamp) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hopeio_time_time_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Date ¶
type Date struct {
Days int32 `protobuf:"varint,1,opt,name=days,proto3" json:"days,omitempty"`
// contains filtered or unexported fields
}
func (*Date) Descriptor
deprecated
func (*Date) GormDataType ¶
func (*Date) MarshalBinary ¶
func (*Date) MarshalGQL ¶
func (*Date) MarshalJSON ¶
func (*Date) MarshalText ¶ added in v0.1.4
func (*Date) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) ProtoReflect ¶
func (x *Date) ProtoReflect() protoreflect.Message
func (*Date) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.
func (*Date) UnmarshalGQL ¶
func (*Date) UnmarshalJSON ¶
func (*Date) UnmarshalText ¶ added in v0.1.4
type Timestamp ¶
type Timestamp struct {
Millis int64 `protobuf:"varint,1,opt,name=millis,proto3" json:"millis,omitempty"`
// contains filtered or unexported fields
}
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GormDataType ¶
func (*Timestamp) MarshalBinary ¶
func (*Timestamp) MarshalJSON ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
func (*Timestamp) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.
func (*Timestamp) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.