Documentation ¶
Index ¶
- Variables
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
- func (x *Admin) GetId() string
- func (x *Admin) GetName() string
- func (x *Admin) GetUser() *user.User
- func (x *Admin) PathBuilder() IAdminPathBuilder
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- type IAdminPathBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_admin_admin_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // TODO , test recursive mode // // user.User user = 3[(ryojerryyu.fieldmask.gen) = { // mode: "recursive" // }]; User *user.User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Admin) Descriptor
deprecated
func (*Admin) GetCreatedAt ¶
func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
func (*Admin) PathBuilder ¶
func (x *Admin) PathBuilder() IAdminPathBuilder
PathBuilder returns the field path for Admin
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
type IAdminPathBuilder ¶
type IAdminPathBuilder interface { String() string Id() fieldmask.IEndPathBuilder Name() fieldmask.IEndPathBuilder User() user.IUserPathBuilder CreatedAt() fieldmask.ITimestampPathBuilder }
IAdminPathBuilder is the interface for the field path of Admin
func NewAdminPathBuilder ¶
func NewAdminPathBuilder(fieldPath string) IAdminPathBuilder
NewAdminPathBuilder creates a new adminPathBuilder
Click to show internal directories.
Click to hide internal directories.