123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- // Code generated by deepcopy-gen. DO NOT EDIT.
- package api
- import (
- model "go-common/app/service/main/relation/model"
- )
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *FollowingReply) DeepCopyInto(out *FollowingReply) {
- *out = *in
- if in.Tag != nil {
- in, out := &in.Tag, &out.Tag
- *out = make([]int64, len(*in))
- copy(*out, *in)
- }
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FollowingReply.
- func (in *FollowingReply) DeepCopy() *FollowingReply {
- if in == nil {
- return nil
- }
- out := new(FollowingReply)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyAsIntoFollowing is an autogenerated deepcopy function, copying the receiver, writing into model.Following.
- func (in *FollowingReply) DeepCopyAsIntoFollowing(out *model.Following) {
- out.Mid = in.Mid
- out.Attribute = in.Attribute
- out.Source = in.Source
- out.CTime = in.CTime
- out.MTime = in.MTime
- if in.Tag != nil {
- in, out := &in.Tag, &out.Tag
- *out = make([]int64, len(*in))
- copy(*out, *in)
- }
- out.Special = in.Special
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyFromFollowing is an autogenerated deepcopy function, copying the receiver, writing into model.Following.
- func (out *FollowingReply) DeepCopyFromFollowing(in *model.Following) {
- out.Mid = in.Mid
- out.Attribute = in.Attribute
- out.Source = in.Source
- out.CTime = in.CTime
- out.MTime = in.MTime
- if in.Tag != nil {
- in, out := &in.Tag, &out.Tag
- *out = make([]int64, len(*in))
- copy(*out, *in)
- }
- out.Special = in.Special
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyAsFollowing is an autogenerated deepcopy function, copying the receiver, creating a new model.Following.
- func (in *FollowingReply) DeepCopyAsFollowing() *model.Following {
- if in == nil {
- return nil
- }
- out := new(model.Following)
- in.DeepCopyAsIntoFollowing(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *StatReply) DeepCopyInto(out *StatReply) {
- *out = *in
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatReply.
- func (in *StatReply) DeepCopy() *StatReply {
- if in == nil {
- return nil
- }
- out := new(StatReply)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyAsIntoStat is an autogenerated deepcopy function, copying the receiver, writing into model.Stat.
- func (in *StatReply) DeepCopyAsIntoStat(out *model.Stat) {
- out.Mid = in.Mid
- out.Following = in.Following
- out.Whisper = in.Whisper
- out.Black = in.Black
- out.Follower = in.Follower
- out.CTime = in.CTime
- out.MTime = in.MTime
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyFromStat is an autogenerated deepcopy function, copying the receiver, writing into model.Stat.
- func (out *StatReply) DeepCopyFromStat(in *model.Stat) {
- out.Mid = in.Mid
- out.Following = in.Following
- out.Whisper = in.Whisper
- out.Black = in.Black
- out.Follower = in.Follower
- out.CTime = in.CTime
- out.MTime = in.MTime
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyAsStat is an autogenerated deepcopy function, copying the receiver, creating a new model.Stat.
- func (in *StatReply) DeepCopyAsStat() *model.Stat {
- if in == nil {
- return nil
- }
- out := new(model.Stat)
- in.DeepCopyAsIntoStat(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *TagCountReply) DeepCopyInto(out *TagCountReply) {
- *out = *in
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- return
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagCountReply.
- func (in *TagCountReply) DeepCopy() *TagCountReply {
- if in == nil {
- return nil
- }
- out := new(TagCountReply)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyAsIntoTagCount is an autogenerated deepcopy function, copying the receiver, writing into model.TagCount.
- func (in *TagCountReply) DeepCopyAsIntoTagCount(out *model.TagCount) {
- out.Tagid = in.Tagid
- out.Name = in.Name
- out.Count = in.Count
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyFromTagCount is an autogenerated deepcopy function, copying the receiver, writing into model.TagCount.
- func (out *TagCountReply) DeepCopyFromTagCount(in *model.TagCount) {
- out.Tagid = in.Tagid
- out.Name = in.Name
- out.Count = in.Count
- out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
- if in.XXX_unrecognized != nil {
- in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
- *out = make([]byte, len(*in))
- copy(*out, *in)
- }
- out.XXX_sizecache = in.XXX_sizecache
- return
- }
- // DeepCopyAsTagCount is an autogenerated deepcopy function, copying the receiver, creating a new model.TagCount.
- func (in *TagCountReply) DeepCopyAsTagCount() *model.TagCount {
- if in == nil {
- return nil
- }
- out := new(model.TagCount)
- in.DeepCopyAsIntoTagCount(out)
- return out
- }
|