copy_autogenerated.go 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. // Code generated by deepcopy-gen. DO NOT EDIT.
  2. package api
  3. import (
  4. model "go-common/app/service/main/relation/model"
  5. )
  6. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  7. func (in *FollowingReply) DeepCopyInto(out *FollowingReply) {
  8. *out = *in
  9. if in.Tag != nil {
  10. in, out := &in.Tag, &out.Tag
  11. *out = make([]int64, len(*in))
  12. copy(*out, *in)
  13. }
  14. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  15. if in.XXX_unrecognized != nil {
  16. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  17. *out = make([]byte, len(*in))
  18. copy(*out, *in)
  19. }
  20. return
  21. }
  22. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FollowingReply.
  23. func (in *FollowingReply) DeepCopy() *FollowingReply {
  24. if in == nil {
  25. return nil
  26. }
  27. out := new(FollowingReply)
  28. in.DeepCopyInto(out)
  29. return out
  30. }
  31. // DeepCopyAsIntoFollowing is an autogenerated deepcopy function, copying the receiver, writing into model.Following.
  32. func (in *FollowingReply) DeepCopyAsIntoFollowing(out *model.Following) {
  33. out.Mid = in.Mid
  34. out.Attribute = in.Attribute
  35. out.Source = in.Source
  36. out.CTime = in.CTime
  37. out.MTime = in.MTime
  38. if in.Tag != nil {
  39. in, out := &in.Tag, &out.Tag
  40. *out = make([]int64, len(*in))
  41. copy(*out, *in)
  42. }
  43. out.Special = in.Special
  44. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  45. if in.XXX_unrecognized != nil {
  46. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  47. *out = make([]byte, len(*in))
  48. copy(*out, *in)
  49. }
  50. out.XXX_sizecache = in.XXX_sizecache
  51. return
  52. }
  53. // DeepCopyFromFollowing is an autogenerated deepcopy function, copying the receiver, writing into model.Following.
  54. func (out *FollowingReply) DeepCopyFromFollowing(in *model.Following) {
  55. out.Mid = in.Mid
  56. out.Attribute = in.Attribute
  57. out.Source = in.Source
  58. out.CTime = in.CTime
  59. out.MTime = in.MTime
  60. if in.Tag != nil {
  61. in, out := &in.Tag, &out.Tag
  62. *out = make([]int64, len(*in))
  63. copy(*out, *in)
  64. }
  65. out.Special = in.Special
  66. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  67. if in.XXX_unrecognized != nil {
  68. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  69. *out = make([]byte, len(*in))
  70. copy(*out, *in)
  71. }
  72. out.XXX_sizecache = in.XXX_sizecache
  73. return
  74. }
  75. // DeepCopyAsFollowing is an autogenerated deepcopy function, copying the receiver, creating a new model.Following.
  76. func (in *FollowingReply) DeepCopyAsFollowing() *model.Following {
  77. if in == nil {
  78. return nil
  79. }
  80. out := new(model.Following)
  81. in.DeepCopyAsIntoFollowing(out)
  82. return out
  83. }
  84. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  85. func (in *StatReply) DeepCopyInto(out *StatReply) {
  86. *out = *in
  87. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  88. if in.XXX_unrecognized != nil {
  89. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  90. *out = make([]byte, len(*in))
  91. copy(*out, *in)
  92. }
  93. return
  94. }
  95. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatReply.
  96. func (in *StatReply) DeepCopy() *StatReply {
  97. if in == nil {
  98. return nil
  99. }
  100. out := new(StatReply)
  101. in.DeepCopyInto(out)
  102. return out
  103. }
  104. // DeepCopyAsIntoStat is an autogenerated deepcopy function, copying the receiver, writing into model.Stat.
  105. func (in *StatReply) DeepCopyAsIntoStat(out *model.Stat) {
  106. out.Mid = in.Mid
  107. out.Following = in.Following
  108. out.Whisper = in.Whisper
  109. out.Black = in.Black
  110. out.Follower = in.Follower
  111. out.CTime = in.CTime
  112. out.MTime = in.MTime
  113. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  114. if in.XXX_unrecognized != nil {
  115. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  116. *out = make([]byte, len(*in))
  117. copy(*out, *in)
  118. }
  119. out.XXX_sizecache = in.XXX_sizecache
  120. return
  121. }
  122. // DeepCopyFromStat is an autogenerated deepcopy function, copying the receiver, writing into model.Stat.
  123. func (out *StatReply) DeepCopyFromStat(in *model.Stat) {
  124. out.Mid = in.Mid
  125. out.Following = in.Following
  126. out.Whisper = in.Whisper
  127. out.Black = in.Black
  128. out.Follower = in.Follower
  129. out.CTime = in.CTime
  130. out.MTime = in.MTime
  131. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  132. if in.XXX_unrecognized != nil {
  133. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  134. *out = make([]byte, len(*in))
  135. copy(*out, *in)
  136. }
  137. out.XXX_sizecache = in.XXX_sizecache
  138. return
  139. }
  140. // DeepCopyAsStat is an autogenerated deepcopy function, copying the receiver, creating a new model.Stat.
  141. func (in *StatReply) DeepCopyAsStat() *model.Stat {
  142. if in == nil {
  143. return nil
  144. }
  145. out := new(model.Stat)
  146. in.DeepCopyAsIntoStat(out)
  147. return out
  148. }
  149. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  150. func (in *TagCountReply) DeepCopyInto(out *TagCountReply) {
  151. *out = *in
  152. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  153. if in.XXX_unrecognized != nil {
  154. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  155. *out = make([]byte, len(*in))
  156. copy(*out, *in)
  157. }
  158. return
  159. }
  160. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagCountReply.
  161. func (in *TagCountReply) DeepCopy() *TagCountReply {
  162. if in == nil {
  163. return nil
  164. }
  165. out := new(TagCountReply)
  166. in.DeepCopyInto(out)
  167. return out
  168. }
  169. // DeepCopyAsIntoTagCount is an autogenerated deepcopy function, copying the receiver, writing into model.TagCount.
  170. func (in *TagCountReply) DeepCopyAsIntoTagCount(out *model.TagCount) {
  171. out.Tagid = in.Tagid
  172. out.Name = in.Name
  173. out.Count = in.Count
  174. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  175. if in.XXX_unrecognized != nil {
  176. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  177. *out = make([]byte, len(*in))
  178. copy(*out, *in)
  179. }
  180. out.XXX_sizecache = in.XXX_sizecache
  181. return
  182. }
  183. // DeepCopyFromTagCount is an autogenerated deepcopy function, copying the receiver, writing into model.TagCount.
  184. func (out *TagCountReply) DeepCopyFromTagCount(in *model.TagCount) {
  185. out.Tagid = in.Tagid
  186. out.Name = in.Name
  187. out.Count = in.Count
  188. out.XXX_NoUnkeyedLiteral = in.XXX_NoUnkeyedLiteral
  189. if in.XXX_unrecognized != nil {
  190. in, out := &in.XXX_unrecognized, &out.XXX_unrecognized
  191. *out = make([]byte, len(*in))
  192. copy(*out, *in)
  193. }
  194. out.XXX_sizecache = in.XXX_sizecache
  195. return
  196. }
  197. // DeepCopyAsTagCount is an autogenerated deepcopy function, copying the receiver, creating a new model.TagCount.
  198. func (in *TagCountReply) DeepCopyAsTagCount() *model.TagCount {
  199. if in == nil {
  200. return nil
  201. }
  202. out := new(model.TagCount)
  203. in.DeepCopyAsIntoTagCount(out)
  204. return out
  205. }