Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdentTransformer = cmp.Transformer("", func(id ident.ID) ident.BytesID { return ident.BytesID(id.Bytes()) })
IdentTransformer transforms any ident.ID into ident.BytesID to make it easier for comparison.
Functions ¶
func ByteSlicesBackedBySameData ¶
ByteSlicesBackedBySameData returns a bool indicating if the raw backing bytes under the []byte slice point to the same memory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.