Skip to content

Instantly share code, notes, and snippets.

@orofarne
orofarne / json_test.go
Created March 23, 2020 20:07
Json diff
package tests
import (
"testing"
jd "github.com/josephburnett/jd/lib"
"github.com/stretchr/testify/assert"
)
func TestJSONFuncs(t *testing.T) {
@orofarne
orofarne / Gomfile
Created March 11, 2015 10:18
OSM Data
gom "github.com/gogo/protobuf/proto"
gom "github.com/gogo/protobuf/protoc-gen-gogo"
gom "github.com/gogo/protobuf/gogoproto"
gom "github.com/tinylib/msgp"
gom "github.com/philhofer/fwd"
#define META_MAGIC "META"
#define META_MAGIC_COMPRESSED "METZ"
struct entry {
int offset;
int size;
};
struct meta_layout {
char magic[4];