Documentation
¶
Index ¶
- Variables
- func ToTime(t *Time) (ti time.Time)
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (this *Time) Equal(that interface{}) bool
- func (m *Time) GetNanos() int32
- func (m *Time) GetSeconds() int64
- func (this *Time) GoString() string
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (m *Time) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (t *Time) Scan(value interface{}) error
- func (m *Time) Size() (n int)
- func (m *Time) String() string
- func (m *Time) Unmarshal(dAtA []byte) error
- func (t *Time) Value() (driver.Value, error)
- func (this *Time) VerboseEqual(that interface{}) error
- func (m *Time) XXX_DiscardUnknown()
- func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Time) XXX_Merge(src proto.Message)
- func (m *Time) XXX_Size() int
- func (m *Time) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Time ¶
type Time struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` }
func NewPopulatedTime ¶
func (*Time) Descriptor ¶
func (*Time) GetSeconds ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) VerboseEqual ¶
func (*Time) XXX_DiscardUnknown ¶
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.