Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNilMap = errors.New("unable to assign map from non-map") ErrNilSlice = errors.New("unable to assign slice from non-slice") ErrUnknownType = errors.New("assign to unknown type") ErrEmptyStack = errors.New("empty stack") ErrMarkNotFound = errors.New("unable to find mark") ErrInvalidSyntax = errors.New("invalid syntax") ErrUnhashableTuple = errors.New("unhashable tuple entry") ErrInvalidMapKeyType = errors.New("invalid map key type") ErrIncompletePickle = errors.New("incomplete pickle: fell out of loop") )
Functions ¶
func PickleDumps ¶
func PickleDumps(o interface{}) []byte
func PickleLoads ¶
Types ¶
type PickleArray ¶
type PickleArray struct { Type string Data []interface{} }
type PickleTuple ¶
type PickleTuple struct { Len int A interface{} B interface{} C interface{} D interface{} }
Click to show internal directories.
Click to hide internal directories.