package
1.0.0-rc
Repository: https://github.com/cryft-labs/cryftgo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
NewDefaultManager returns a new codec manager.
NewManager returns a new codec manager.
NewMockManager creates a new mock instance.
Test marshalling an array.
Test marshalling an array of interfaces.
Test marshalling a really big array.
Test marshalling a bool.
No description provided by the author
Test marshaling a slice that has 0 elements (but isn't nil).
Test unmarshaling something with extra data.
Test marshalling an interface.
No description provided by the author
Test marshaling empty map of zero length structs.
No description provided by the author
Test marshalling/unmarshalling largest possible slice.
No description provided by the author
Ensure serializing structs with negative number members works.
Ensure a nil slice is unmarshaled to slice with length 0.
Test marshalling of nil slice.
Test marshalling a pointer to an interface.
Test marshalling a pointer to a struct.
No description provided by the author
No description provided by the author
Ensure that trying to serialize a struct with an unexported member that has `serialize:"true"` returns error.
No description provided by the author
Ensure deserializing slices whose lengths exceed MaxInt32 error correctly.
Test marshalling a slice of interfaces.
Test marshalling a slice of structs.
No description provided by the author
Test marshaling empty slice of zero length structs.
No description provided by the author
Test marshalling a string.
Test marshaling/unmarshaling a complicated struct.
Ensure deserializing structs with too many bytes errors correctly.
No description provided by the author
No description provided by the author
Ensure deserializing structs into the wrong interface errors gracefully.

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

MockManager is a mock of Manager interface.
MockManagerMockRecorder is the mock recorder for MockManager.
No description provided by the author
No description provided by the author
No description provided by the author
MyInnerStruct3 embeds Foo, an interface, so it has to implement TypeID and ConcreteInstance.

# Interfaces

Codec marshals and unmarshals.
No description provided by the author
GeneralCodec marshals and unmarshals structs including interfaces.
Manager describes the functionality for managing codec versions.
Registry registers new types that can be marshaled into.