Documentation ¶
Overview ¶
This is a test package.
Index ¶
- type ManualSlice
- type ManualStruct
- type ManualStructAlias
- type StructB
- type StructEmbedInt
- type StructEmbedManualStruct
- type StructEmbedPointer
- type StructEmbedStructPrimitivePointers
- type StructEmbedStructPrimitives
- type StructEmbedStructSlices
- type StructEmpty
- type StructEverything
- type StructExplicitObject
- type StructExplicitSelectorExplicitObject
- type StructNonPointerExplicitObject
- type StructObjectAndList
- type StructObjectAndObject
- type StructPrimitivePointers
- type StructPrimitivePointersAlias
- type StructPrimitives
- type StructPrimitivesAlias
- type StructSlices
- type StructSlicesAlias
- type StructStructPrimitivePointers
- type StructStructPrimitives
- type StructStructSlices
- type StructTypeMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManualSlice ¶
type ManualSlice []string
Manual DeepCopy method
func (*ManualSlice) DeepEqual ¶
func (in *ManualSlice) DeepEqual(other *ManualSlice) bool
type ManualStruct ¶
type ManualStruct struct {
StringField string
}
Manual DeepEqual method
func (*ManualStruct) DeepEqual ¶
func (in *ManualStruct) DeepEqual(other *ManualStruct) bool
type ManualStructAlias ¶
type ManualStructAlias ManualStruct
func (*ManualStructAlias) DeepEqual ¶
func (in *ManualStructAlias) DeepEqual(other *ManualStructAlias) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedInt ¶
type StructEmbedInt struct {
// contains filtered or unexported fields
}
func (*StructEmbedInt) DeepEqual ¶
func (in *StructEmbedInt) DeepEqual(other *StructEmbedInt) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedManualStruct ¶
type StructEmbedManualStruct struct {
ManualStruct
}
func (*StructEmbedManualStruct) DeepEqual ¶
func (in *StructEmbedManualStruct) DeepEqual(other *StructEmbedManualStruct) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedPointer ¶
type StructEmbedPointer struct {
// contains filtered or unexported fields
}
func (*StructEmbedPointer) DeepEqual ¶
func (in *StructEmbedPointer) DeepEqual(other *StructEmbedPointer) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedStructPrimitivePointers ¶
type StructEmbedStructPrimitivePointers struct {
StructPrimitivePointers
}
func (*StructEmbedStructPrimitivePointers) DeepEqual ¶
func (in *StructEmbedStructPrimitivePointers) DeepEqual(other *StructEmbedStructPrimitivePointers) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedStructPrimitives ¶
type StructEmbedStructPrimitives struct {
StructPrimitives
}
func (*StructEmbedStructPrimitives) DeepEqual ¶
func (in *StructEmbedStructPrimitives) DeepEqual(other *StructEmbedStructPrimitives) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmbedStructSlices ¶
type StructEmbedStructSlices struct {
StructSlices
}
func (*StructEmbedStructSlices) DeepEqual ¶
func (in *StructEmbedStructSlices) DeepEqual(other *StructEmbedStructSlices) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEmpty ¶
type StructEmpty struct{}
Trivial
func (*StructEmpty) DeepEqual ¶
func (in *StructEmpty) DeepEqual(other *StructEmpty) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructEverything ¶
type StructEverything struct { BoolField bool IntField int StringField string FloatField float64 StructField StructPrimitives EmptyStructField StructEmpty ManualStructField ManualStruct ManualStructAliasField ManualStructAlias BoolPtrField *bool IntPtrField *int StringPtrField *string FloatPtrField *float64 PrimitivePointersField StructPrimitivePointers ManualStructPtrField *ManualStruct ManualStructAliasPtrField *ManualStructAlias SliceBoolField []bool SliceByteField []byte SliceIntField []int SliceStringField []string SliceFloatField []float64 SlicesField StructSlices SliceManualStructField []ManualStruct ManualSliceField ManualSlice }
Everything
func (*StructEverything) DeepEqual ¶
func (in *StructEverything) DeepEqual(other *StructEverything) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructExplicitObject ¶
type StructExplicitObject struct {
// contains filtered or unexported fields
}
An Object
func (*StructExplicitObject) DeepEqual ¶
func (in *StructExplicitObject) DeepEqual(other *StructExplicitObject) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructExplicitSelectorExplicitObject ¶
type StructExplicitSelectorExplicitObject struct {
StructTypeMeta
}
func (*StructExplicitSelectorExplicitObject) DeepEqual ¶
func (in *StructExplicitSelectorExplicitObject) DeepEqual(other *StructExplicitSelectorExplicitObject) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructNonPointerExplicitObject ¶
type StructNonPointerExplicitObject struct {
// contains filtered or unexported fields
}
An Object which is used a non-pointer
func (*StructNonPointerExplicitObject) DeepEqual ¶
func (in *StructNonPointerExplicitObject) DeepEqual(other *StructNonPointerExplicitObject) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructObjectAndList ¶
type StructObjectAndList struct { }
func (*StructObjectAndList) DeepEqual ¶
func (in *StructObjectAndList) DeepEqual(other *StructObjectAndList) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructObjectAndObject ¶
type StructObjectAndObject struct { }
func (*StructObjectAndObject) DeepEqual ¶
func (in *StructObjectAndObject) DeepEqual(other *StructObjectAndObject) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructPrimitivePointers ¶
type StructPrimitivePointers struct { BoolPtrField *bool IntPtrField *int StringPtrField *string FloatPtrField *float64 }
Only pointers to primitives
func (*StructPrimitivePointers) DeepEqual ¶
func (in *StructPrimitivePointers) DeepEqual(other *StructPrimitivePointers) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructPrimitivePointersAlias ¶
type StructPrimitivePointersAlias StructPrimitivePointers
func (*StructPrimitivePointersAlias) DeepEqual ¶
func (in *StructPrimitivePointersAlias) DeepEqual(other *StructPrimitivePointersAlias) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructPrimitives ¶
Only primitives
func (*StructPrimitives) DeepEqual ¶
func (in *StructPrimitives) DeepEqual(other *StructPrimitives) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructPrimitivesAlias ¶
type StructPrimitivesAlias StructPrimitives
func (*StructPrimitivesAlias) DeepEqual ¶
func (in *StructPrimitivesAlias) DeepEqual(other *StructPrimitivesAlias) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructSlices ¶
type StructSlices struct { SliceBoolField []bool SliceByteField []byte SliceIntField []int SliceStringField []string SliceFloatField []float64 SliceStructPrimitivesField []StructPrimitives SliceStructPrimitivesAliasField []StructPrimitivesAlias SliceStructPrimitivePointersField []StructPrimitivePointers SliceStructPrimitivePointersAliasField []StructPrimitivePointersAlias SliceManualStructField []ManualStruct ManualSliceField ManualSlice }
Slices
func (*StructSlices) DeepEqual ¶
func (in *StructSlices) DeepEqual(other *StructSlices) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructSlicesAlias ¶
type StructSlicesAlias StructSlices
func (*StructSlicesAlias) DeepEqual ¶
func (in *StructSlicesAlias) DeepEqual(other *StructSlicesAlias) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructStructPrimitivePointers ¶
type StructStructPrimitivePointers struct {
StructField StructPrimitivePointers
}
func (*StructStructPrimitivePointers) DeepEqual ¶
func (in *StructStructPrimitivePointers) DeepEqual(other *StructStructPrimitivePointers) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructStructPrimitives ¶
type StructStructPrimitives struct {
StructField StructPrimitives
}
func (*StructStructPrimitives) DeepEqual ¶
func (in *StructStructPrimitives) DeepEqual(other *StructStructPrimitives) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.
type StructStructSlices ¶
type StructStructSlices struct {
StructField StructSlices
}
func (*StructStructSlices) DeepEqual ¶
func (in *StructStructSlices) DeepEqual(other *StructStructSlices) bool
DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.