Msgpack implementation for Golang
=================================

Supports:
- Primitives, arrays, maps and structs.
- time.Time.
- Appengine: *datastore.Key and datastore.Cursor.
- Extensions for user defined types.

Does not support:
- Interface unmarshalling.

Installation
------------

Install:

    go get github.com/vmihailenco/msgpack

Usage
-----

Example:

    import (
        "fmt"

        "github.com/vmihailenco/msgpack"
    )

    func main() {
        b, err := msgpack.Marshal(true)
        if err != nil {
            panic(err)
        }

        var out bool
        if err := msgpack.Unmarshal(b, &out); err != nil {
            panic(err)
        }
        fmt.Println(out)
    }

Extensions
----------

Look at [appengine.go](https://github.com/vmihailenco/msgpack/blob/master/appengine.go) for example.

Msgpack implementation for Golang
=================================

Supports:
- Primitives, arrays, maps and structs.
- time.Time.
- Appengine: *datastore.Key and datastore.Cursor.
- Extensions for user defined types.

API docs: http://go.pkgdoc.org/github.com/vmihailenco/msgpack

Does not support:
- Interface unmarshalling.

Installation
------------

Install:

    go get github.com/vmihailenco/msgpack

Usage
-----

Example:

    import (
        "fmt"

        "github.com/vmihailenco/msgpack"
    )

    func main() {
        b, err := msgpack.Marshal(true)
        if err != nil {
            panic(err)
        }

        var out bool
        if err := msgpack.Unmarshal(b, &out); err != nil {
            panic(err)
        }
        fmt.Println(out)
    }

Extensions
----------

Look at [appengine.go](https://github.com/vmihailenco/msgpack/blob/master/appengine.go) for example.

Add link to API docs.
Add link to API docs.
