SYMBOL INDEX (228 symbols across 6 files) FILE: copy.go function StructToStruct (line 17) | func StructToStruct(filter FieldFilter, src, dst interface{}, userOpts .... function ensureCompatible (line 38) | func ensureCompatible(src, dst *reflect.Value) error { function structToStruct (line 53) | func structToStruct(filter FieldFilter, src, dst *reflect.Value, userOpt... type options (line 265) | type options struct type mapVisitor (line 299) | type mapVisitor type MapVisitorResult (line 303) | type MapVisitorResult struct type Option (line 309) | type Option function WithTag (line 312) | func WithTag(s string) Option { function WithSrcTag (line 319) | func WithSrcTag(s string) Option { function WithCopyListSize (line 326) | func WithCopyListSize(f func(src *reflect.Value) int) Option { function WithMapVisitor (line 333) | func WithMapVisitor(visitor mapVisitor) Option { function WithUnmarshalAllAny (line 339) | func WithUnmarshalAllAny(unmarshal bool) Option { function WithConverterHook (line 346) | func WithConverterHook(converter func(src, dst *reflect.Value) (interfac... function newDefaultOptions (line 352) | func newDefaultOptions() *options { function fieldName (line 361) | func fieldName(tag string, f reflect.StructField) string { function StructToMap (line 379) | func StructToMap(filter FieldFilter, src interface{}, dst map[string]int... function structToMap (line 388) | func structToMap(filter FieldFilter, src, dst reflect.Value, userOptions... function indirect (line 518) | func indirect(v reflect.Value) reflect.Value { function isPrimitive (line 526) | func isPrimitive(kind reflect.Kind) bool { function newValue (line 536) | func newValue(t reflect.Type) reflect.Value { function isExported (line 553) | func isExported(f reflect.StructField) bool { FILE: copy_proto_test.go function init (line 20) | func init() { function TestStructToStruct_Proto (line 96) | func TestStructToStruct_Proto(t *testing.T) { function TestStructToStruct_ExistingAnyPreserved (line 129) | func TestStructToStruct_ExistingAnyPreserved(t *testing.T) { function TestStructToStruct_PartialProtoSuccess (line 153) | func TestStructToStruct_PartialProtoSuccess(t *testing.T) { function TestStructToStruct_MaskInverse (line 164) | func TestStructToStruct_MaskInverse(t *testing.T) { function TestStructToStruct_NonProtoSuccess (line 194) | func TestStructToStruct_NonProtoSuccess(t *testing.T) { function TestStructToStruct_MaskInverseFromMask (line 229) | func TestStructToStruct_MaskInverseFromMask(t *testing.T) { function TestStructToStruct_NonProtoFail (line 262) | func TestStructToStruct_NonProtoFail(t *testing.T) { function TestStructToStruct_UnknownAnyInSrcNoSubfieldMask (line 280) | func TestStructToStruct_UnknownAnyInSrcNoSubfieldMask(t *testing.T) { function TestStructToStruct_UnknownAnyInDstNoSubfieldMask (line 297) | func TestStructToStruct_UnknownAnyInDstNoSubfieldMask(t *testing.T) { function TestStructToStruct_UnknownAnyDefault (line 314) | func TestStructToStruct_UnknownAnyDefault(t *testing.T) { function TestStructToStruct_UnknownAnySubfieldMask (line 330) | func TestStructToStruct_UnknownAnySubfieldMask(t *testing.T) { function TestStructToMap_Success (line 345) | func TestStructToMap_Success(t *testing.T) { function TestStructToMap_PartialProtoSuccess (line 374) | func TestStructToMap_PartialProtoSuccess(t *testing.T) { FILE: copy_test.go function TestStructToStruct_SimpleStruct (line 19) | func TestStructToStruct_SimpleStruct(t *testing.T) { function TestStructToStruct_PtrToInt (line 38) | func TestStructToStruct_PtrToInt(t *testing.T) { function TestStructToStruct_StructToPointer (line 56) | func TestStructToStruct_StructToPointer(t *testing.T) { function TestStructToStruct_IntToPointer (line 93) | func TestStructToStruct_IntToPointer(t *testing.T) { function TestStructToStruct_PointerToInt (line 115) | func TestStructToStruct_PointerToInt(t *testing.T) { function TestStructToStruct_Incompatible (line 137) | func TestStructToStruct_Incompatible(t *testing.T) { function TestStructToStruct_PtrToStruct_EmptyDst (line 154) | func TestStructToStruct_PtrToStruct_EmptyDst(t *testing.T) { function TestStructToStruct_PtrToStruct_NonEmptyDst (line 197) | func TestStructToStruct_PtrToStruct_NonEmptyDst(t *testing.T) { function TestStructToStruct_NestedStruct_EmptyDst (line 250) | func TestStructToStruct_NestedStruct_EmptyDst(t *testing.T) { function TestStructToStruct_NestedStruct_EmptyDst_OptionDst (line 293) | func TestStructToStruct_NestedStruct_EmptyDst_OptionDst(t *testing.T) { function TestStructToStruct_NestedStruct_NonEmptyDst (line 332) | func TestStructToStruct_NestedStruct_NonEmptyDst(t *testing.T) { function TestStructToStruct_SliceOfStructs_EmptyDst (line 385) | func TestStructToStruct_SliceOfStructs_EmptyDst(t *testing.T) { function TestStructToStruct_SliceOfStructs_NonEmptyDst (line 427) | func TestStructToStruct_SliceOfStructs_NonEmptyDst(t *testing.T) { function TestStructToStruct_EntireSlice_NonEmptyDst (line 489) | func TestStructToStruct_EntireSlice_NonEmptyDst(t *testing.T) { function TestStructToStruct_NilSrcSlice_NonEmptyDst (line 538) | func TestStructToStruct_NilSrcSlice_NonEmptyDst(t *testing.T) { function TestStructToStruct_SliceOfPtrsToStruct_EmptyDst (line 578) | func TestStructToStruct_SliceOfPtrsToStruct_EmptyDst(t *testing.T) { function TestStructToStruct_ArrayOfStructs_EmptyDst (line 620) | func TestStructToStruct_ArrayOfStructs_EmptyDst(t *testing.T) { function TestStructToStruct_Array_DstLenLessThanSrc (line 670) | func TestStructToStruct_Array_DstLenLessThanSrc(t *testing.T) { function TestStructToStruct_DifferentStructTypes (line 703) | func TestStructToStruct_DifferentStructTypes(t *testing.T) { function TestStructToStruct_DifferentStructTypesNested (line 720) | func TestStructToStruct_DifferentStructTypesNested(t *testing.T) { function TestStructToStruct_DifferentStructTypesPtrNested (line 753) | func TestStructToStruct_DifferentStructTypesPtrNested(t *testing.T) { type StringerA (line 786) | type StringerA struct method String (line 790) | func (a *StringerA) String() string { type StringerB (line 794) | type StringerB struct method String (line 798) | func (b *StringerB) String() string { function TestStructToStruct_Interface_EmptyDst (line 802) | func TestStructToStruct_Interface_EmptyDst(t *testing.T) { function TestStructToStruct_SameInterfaces_NonEmptyDst (line 823) | func TestStructToStruct_SameInterfaces_NonEmptyDst(t *testing.T) { function TestStructToStruct_DifferentCompatibleInterfaces_NonEmptyDst (line 849) | func TestStructToStruct_DifferentCompatibleInterfaces_NonEmptyDst(t *tes... type Logger (line 870) | type Logger interface type LoggerImpl (line 874) | type LoggerImpl struct method Log (line 878) | func (d *LoggerImpl) Log() string { function TestStructToStruct_DifferentIncompatibleInterfaces (line 882) | func TestStructToStruct_DifferentIncompatibleInterfaces(t *testing.T) { function TestStructToStruct_EmptyMask (line 907) | func TestStructToStruct_EmptyMask(t *testing.T) { type StringerImpl (line 923) | type StringerImpl struct method someMethod (line 927) | func (*StringerImpl) someMethod() {} method String (line 928) | func (f *StringerImpl) String() string { type StringerNonPtrImpl (line 932) | type StringerNonPtrImpl struct method String (line 936) | func (s StringerNonPtrImpl) String() string { function TestStructToStruct_SameInterfacesPtr_EmptyDst (line 940) | func TestStructToStruct_SameInterfacesPtr_EmptyDst(t *testing.T) { function TestStructToStruct_SameInterfacesPtr_NonEmptyDst (line 961) | func TestStructToStruct_SameInterfacesPtr_NonEmptyDst(t *testing.T) { function TestStructToStruct_SameInterfacesNonPtr_EmptyDst (line 987) | func TestStructToStruct_SameInterfacesNonPtr_EmptyDst(t *testing.T) { function TestStructToStruct_SameInterfacesNonPtr_NonEmptyDst (line 1002) | func TestStructToStruct_SameInterfacesNonPtr_NonEmptyDst(t *testing.T) { function TestStructToStruct_NonPtrDst (line 1019) | func TestStructToStruct_NonPtrDst(t *testing.T) { function TestStructToStruct_DifferentDstKind (line 1030) | func TestStructToStruct_DifferentDstKind(t *testing.T) { function TestStructToStruct_UnexportedFieldsPtr (line 1041) | func TestStructToStruct_UnexportedFieldsPtr(t *testing.T) { function TestStructToStruct_UnexportedFields (line 1067) | func TestStructToStruct_UnexportedFields(t *testing.T) { function TestStructToStruct_MaskWithInverseMask (line 1093) | func TestStructToStruct_MaskWithInverseMask(t *testing.T) { function TestStructToStruct_InverseMaskWithMask (line 1129) | func TestStructToStruct_InverseMaskWithMask(t *testing.T) { function TestStructToMap_NestedStruct_EmptyDst (line 1165) | func TestStructToMap_NestedStruct_EmptyDst(t *testing.T) { function TestStructToMap_NestedStruct_EmptyDst_OptionDst (line 1193) | func TestStructToMap_NestedStruct_EmptyDst_OptionDst(t *testing.T) { function TestStructToMap_NestedStruct_NonEmptyDst (line 1222) | func TestStructToMap_NestedStruct_NonEmptyDst(t *testing.T) { function TestStructToMap_PtrToStruct_EmptyDst (line 1256) | func TestStructToMap_PtrToStruct_EmptyDst(t *testing.T) { function TestStructToMap_PtrToStruct_NonEmptyDst (line 1284) | func TestStructToMap_PtrToStruct_NonEmptyDst(t *testing.T) { function TestStructToMap_ArrayOfStructs_EmptyDst (line 1318) | func TestStructToMap_ArrayOfStructs_EmptyDst(t *testing.T) { function TestStructToMap_SliceOfStructs_NonEmptyDst (line 1347) | func TestStructToMap_SliceOfStructs_NonEmptyDst(t *testing.T) { function TestStructToMap_EntireSlicePrimitive_NonEmptyDst (line 1383) | func TestStructToMap_EntireSlicePrimitive_NonEmptyDst(t *testing.T) { function TestStructToMap_EntireSlice_NonEmptyDst (line 1402) | func TestStructToMap_EntireSlice_NonEmptyDst(t *testing.T) { function TestStructToMap_NilSrcSlice_NonEmptyDst (line 1452) | func TestStructToMap_NilSrcSlice_NonEmptyDst(t *testing.T) { function TestStructToMap_EntireSlice_DstSliceLenIsLessThanSource (line 1482) | func TestStructToMap_EntireSlice_DstSliceLenIsLessThanSource(t *testing.... function TestStructToMap_Array_NonEmptyDst (line 1526) | func TestStructToMap_Array_NonEmptyDst(t *testing.T) { function TestStructToMap_ArrayPrimitive_NonEmptyDst (line 1580) | func TestStructToMap_ArrayPrimitive_NonEmptyDst(t *testing.T) { function TestStructToMap_EmptySliceSrc_NonEmptyArrayDst (line 1599) | func TestStructToMap_EmptySliceSrc_NonEmptyArrayDst(t *testing.T) { function TestStructToStruct_CopyStructSlice_WithMaxCopyListSize (line 1618) | func TestStructToStruct_CopyStructSlice_WithMaxCopyListSize(t *testing.T) { function TestStructToStruct_CopyIntSlice_WithMaxCopyListSize (line 1642) | func TestStructToStruct_CopyIntSlice_WithMaxCopyListSize(t *testing.T) { function TestStructToStruct_CopyIntArray_WithMaxCopyListSize (line 1663) | func TestStructToStruct_CopyIntArray_WithMaxCopyListSize(t *testing.T) { function TestStructToStruct_CopyStructArray_WithMaxCopyListSize (line 1683) | func TestStructToStruct_CopyStructArray_WithMaxCopyListSize(t *testing.T) { function TestStructToMap_CopyStructSlice_WithMaxCopyListSize (line 1708) | func TestStructToMap_CopyStructSlice_WithMaxCopyListSize(t *testing.T) { function TestStructToMap_CopyIntSlice_WithMaxCopyListSize (line 1732) | func TestStructToMap_CopyIntSlice_WithMaxCopyListSize(t *testing.T) { function TestStructToMap_CopyStructArray_WithMaxCopyListSize (line 1753) | func TestStructToMap_CopyStructArray_WithMaxCopyListSize(t *testing.T) { function TestStructToMap_CopyIntArray_WithMaxCopyListSize (line 1778) | func TestStructToMap_CopyIntArray_WithMaxCopyListSize(t *testing.T) { function TestStructToMap_CopyStructWithPrivateFields_WithMapVisitor (line 1798) | func TestStructToMap_CopyStructWithPrivateFields_WithMapVisitor(t *testi... function TestStructToMap_MapVisitorVisitsOnlyFilteredFields (line 1824) | func TestStructToMap_MapVisitorVisitsOnlyFilteredFields(t *testing.T) { function TestStructToMap_WithMapVisitor_SkipsToNextField (line 1844) | func TestStructToMap_WithMapVisitor_SkipsToNextField(t *testing.T) { function TestStructToStruct_CopySlice_WithDiffentItemKind (line 1869) | func TestStructToStruct_CopySlice_WithDiffentItemKind(t *testing.T) { function TestStructToMap_CopySlice_WithDiffentItemKind (line 1895) | func TestStructToMap_CopySlice_WithDiffentItemKind(t *testing.T) { function TestStructToStruct_CopySlice_WithDiffentItemType (line 1921) | func TestStructToStruct_CopySlice_WithDiffentItemType(t *testing.T) { function TestStructToMap_CopySlice_WithDiffentItemType (line 1950) | func TestStructToMap_CopySlice_WithDiffentItemType(t *testing.T) { function TestStructToStruct_WithNonStructSrcError (line 1979) | func TestStructToStruct_WithNonStructSrcError(t *testing.T) { function TestStructToStruct_WithMultiTagComma (line 1988) | func TestStructToStruct_WithMultiTagComma(t *testing.T) { function TestStructToMap_WithInterface (line 2002) | func TestStructToMap_WithInterface(t *testing.T) { function TestStructToMap_PtrToInt (line 2031) | func TestStructToMap_PtrToInt(t *testing.T) { function TestStructToMap_DifferentTypeWithSameDstKey (line 2054) | func TestStructToMap_DifferentTypeWithSameDstKey(t *testing.T) { function TestStructToMap_EmptySrcSlice_JsonEncode (line 2080) | func TestStructToMap_EmptySrcSlice_JsonEncode(t *testing.T) { function TestStructToMap_NilSrcSlice_JsonEncode (line 2097) | func TestStructToMap_NilSrcSlice_JsonEncode(t *testing.T) { function TestStructToStruct_CopySlice_WithDiffentAddr_WithDifferentFieldName (line 2115) | func TestStructToStruct_CopySlice_WithDiffentAddr_WithDifferentFieldName... function TestStructToStruct_CopySlice_WithSameAddr_WithDifferentFieldName (line 2145) | func TestStructToStruct_CopySlice_WithSameAddr_WithDifferentFieldName(t ... function TestStructToStruct_CopyArraySizeAccordingFieldName (line 2177) | func TestStructToStruct_CopyArraySizeAccordingFieldName(t *testing.T) { function TestStructToStruct_WithSrcTag (line 2206) | func TestStructToStruct_WithSrcTag(t *testing.T) { function TestStructToMap_WithSrcTag (line 2235) | func TestStructToMap_WithSrcTag(t *testing.T) { function TestStructToStruct_WithConverterHook (line 2273) | func TestStructToStruct_WithConverterHook(t *testing.T) { FILE: mask.go type FieldFilter (line 12) | type FieldFilter interface type FieldFilterContainer (line 21) | type FieldFilterContainer interface type Mask (line 30) | type Mask method Get (line 33) | func (m Mask) Get(fieldName string) (FieldFilterContainer, bool) { method Set (line 39) | func (m Mask) Set(fieldName string, filter FieldFilterContainer) { method Filter (line 48) | func (m Mask) Filter(fieldName string) (FieldFilter, bool) { method IsEmpty (line 61) | func (m Mask) IsEmpty() bool { method String (line 86) | func (m Mask) String() string { function mapToString (line 65) | func mapToString(m map[string]FieldFilterContainer) string { type MaskInverse (line 91) | type MaskInverse method Get (line 94) | func (m MaskInverse) Get(fieldName string) (FieldFilterContainer, bool) { method Set (line 100) | func (m MaskInverse) Set(fieldName string, filter FieldFilterContainer) { method Filter (line 106) | func (m MaskInverse) Filter(fieldName string) (FieldFilter, bool) { method IsEmpty (line 118) | func (m MaskInverse) IsEmpty() bool { method String (line 122) | func (m MaskInverse) String() string { function MaskFromProtoFieldMask (line 127) | func MaskFromProtoFieldMask(fm *field_mask.FieldMask, naming func(string... function MaskInverseFromProtoFieldMask (line 132) | func MaskInverseFromProtoFieldMask(fm *field_mask.FieldMask, naming func... function MaskFromPaths (line 137) | func MaskFromPaths(paths []string, naming func(string) string) (Mask, er... function MaskInverseFromPaths (line 148) | func MaskInverseFromPaths(paths []string, naming func(string) string) (M... function FieldFilterFromPaths (line 159) | func FieldFilterFromPaths(paths []string, naming func(string) string, fi... function MaskFromString (line 181) | func MaskFromString(s string) Mask { function MaskInverseFromString (line 189) | func MaskInverseFromString(s string) MaskInverse { function FieldFilterFromString (line 199) | func FieldFilterFromString(input string, filter func() FieldFilterContai... FILE: mask_test.go function TestMask_String (line 13) | func TestMask_String(t *testing.T) { function TestMaskInverse_String (line 18) | func TestMaskInverse_String(t *testing.T) { function TestFieldFilterFromPaths_Success (line 23) | func TestFieldFilterFromPaths_Success(t *testing.T) { function TestMaskFromProtoFieldMask_Failure (line 68) | func TestMaskFromProtoFieldMask_Failure(t *testing.T) { function TestMaskFromString (line 81) | func TestMaskFromString(t *testing.T) { FILE: testproto/test.pb.go constant _ (line 21) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 23) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type Role (line 26) | type Role method Enum (line 48) | func (x Role) Enum() *Role { method String (line 54) | func (x Role) String() string { method Descriptor (line 58) | func (Role) Descriptor() protoreflect.EnumDescriptor { method Type (line 62) | func (Role) Type() protoreflect.EnumType { method Number (line 66) | func (x Role) Number() protoreflect.EnumNumber { method EnumDescriptor (line 71) | func (Role) EnumDescriptor() ([]byte, []int) { constant Role_UNKNOWN (line 29) | Role_UNKNOWN Role = 0 constant Role_REGULAR (line 30) | Role_REGULAR Role = 1 constant Role_ADMIN (line 31) | Role_ADMIN Role = 2 type Permission (line 75) | type Permission method Enum (line 97) | func (x Permission) Enum() *Permission { method String (line 103) | func (x Permission) String() string { method Descriptor (line 107) | func (Permission) Descriptor() protoreflect.EnumDescriptor { method Type (line 111) | func (Permission) Type() protoreflect.EnumType { method Number (line 115) | func (x Permission) Number() protoreflect.EnumNumber { method EnumDescriptor (line 120) | func (Permission) EnumDescriptor() ([]byte, []int) { constant Permission_READ (line 78) | Permission_READ Permission = 0 constant Permission_WRITE (line 79) | Permission_WRITE Permission = 1 constant Permission_EXECUTE (line 80) | Permission_EXECUTE Permission = 2 type Image (line 124) | type Image struct method Reset (line 133) | func (x *Image) Reset() { method String (line 142) | func (x *Image) String() string { method ProtoMessage (line 146) | func (*Image) ProtoMessage() {} method ProtoReflect (line 148) | func (x *Image) ProtoReflect() protoreflect.Message { method Descriptor (line 161) | func (*Image) Descriptor() ([]byte, []int) { method GetOriginalUrl (line 165) | func (x *Image) GetOriginalUrl() string { method GetResizedUrl (line 172) | func (x *Image) GetResizedUrl() string { type Metrics (line 179) | type Metrics struct method Reset (line 188) | func (x *Metrics) Reset() { method String (line 197) | func (x *Metrics) String() string { method ProtoMessage (line 201) | func (*Metrics) ProtoMessage() {} method ProtoReflect (line 203) | func (x *Metrics) ProtoReflect() protoreflect.Message { method Descriptor (line 216) | func (*Metrics) Descriptor() ([]byte, []int) { method GetHeight (line 220) | func (x *Metrics) GetHeight() uint32 { method GetWeight (line 227) | func (x *Metrics) GetWeight() uint32 { type User (line 234) | type User struct method Reset (line 257) | func (x *User) Reset() { method String (line 266) | func (x *User) String() string { method ProtoMessage (line 270) | func (*User) ProtoMessage() {} method ProtoReflect (line 272) | func (x *User) ProtoReflect() protoreflect.Message { method Descriptor (line 285) | func (*User) Descriptor() ([]byte, []int) { method GetId (line 289) | func (x *User) GetId() uint32 { method GetUsername (line 296) | func (x *User) GetUsername() string { method GetRole (line 303) | func (x *User) GetRole() Role { method GetMeta (line 310) | func (x *User) GetMeta() map[string]string { method GetDeactivated (line 317) | func (x *User) GetDeactivated() bool { method GetPermissions (line 324) | func (x *User) GetPermissions() []Permission { method GetName (line 331) | func (m *User) GetName() isUser_Name { method GetMaleName (line 338) | func (x *User) GetMaleName() string { method GetFemaleName (line 345) | func (x *User) GetFemaleName() string { method GetDetails (line 352) | func (x *User) GetDetails() []*anypb.Any { method GetImages (line 359) | func (x *User) GetImages() []*Image { method GetAvatar (line 366) | func (x *User) GetAvatar() *Image { method GetTags (line 373) | func (x *User) GetTags() []string { method GetFriends (line 380) | func (x *User) GetFriends() []*User { method GetExtraUser (line 387) | func (x *User) GetExtraUser() *anypb.Any { type isUser_Name (line 394) | type isUser_Name interface type User_MaleName (line 398) | type User_MaleName struct method isUser_Name (line 406) | func (*User_MaleName) isUser_Name() {} type User_FemaleName (line 402) | type User_FemaleName struct method isUser_Name (line 408) | func (*User_FemaleName) isUser_Name() {} type UpdateUserRequest (line 410) | type UpdateUserRequest struct method Reset (line 419) | func (x *UpdateUserRequest) Reset() { method String (line 428) | func (x *UpdateUserRequest) String() string { method ProtoMessage (line 432) | func (*UpdateUserRequest) ProtoMessage() {} method ProtoReflect (line 434) | func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 447) | func (*UpdateUserRequest) Descriptor() ([]byte, []int) { method GetUser (line 451) | func (x *UpdateUserRequest) GetUser() *User { method GetFieldMask (line 458) | func (x *UpdateUserRequest) GetFieldMask() *fieldmaskpb.FieldMask { function file_test_proto_rawDescGZIP (line 539) | func file_test_proto_rawDescGZIP() []byte { function init (line 577) | func init() { file_test_proto_init() } function file_test_proto_init (line 578) | func file_test_proto_init() {