refmt icon indicating copy to clipboard operation
refmt copied to clipboard

Object mapping for golang.

Results 18 refmt issues
Sort by recently updated
recently updated
newest added

README.md seems to be lacking Instructions for how to build this repo. The usual "go test ./..." fails with "directory prefix . does not contain main module" Eventually, the determined...

Here's the symptom: ``` $ git clone https://github.com/polydawn/refmt $ cd refmt $ git submodule update --init ... fatal: clone of 'https://github.com/go-yaml/yaml/' into submodule path '/Users/dkegel/src/refmt/.gopath/src/github.com/go-yaml/yaml' failed fatal: clone of 'https://github.com/urfave/cli/'...

Otherwise, forwards compatibility is difficult.

This diff changes the `obj` package's use of `int` to `int64`. Using `int` is problematic because if one is building for 32-bit architectures as well as 64-bit, using `int` will...

We have a few objects where refmt serialization is the bottleneck in our app... taking up to 1ms to serialize an object. I'm wondering if it's possible to specify a...

I am trying to marshal a type `map[uint64]*somestruct`, but cannot do so, as I get the error messags `unsupported map key type "uint64"`. This is really unfortunate, because one of...

To run them: ``` go get -u github.com/dvyukov/go-fuzz/go-fuzz go get -u github.com/dvyukov/go-fuzz/go-fuzz-build # in cbor directory go-fuzz-build github.com/polydawn/refmt/cbor go-fuzz -bin=./cbor-fuzz.zip -workdir=fuzz-data # this runs until stopped by Ctrl-C ``` I...

To fully replace `encoding/json`, it would be great to be able to pass an *arbitrary* `interface{}` to `refmt` and have it auto-generate the necessary atlas entries. What are the performance...

Currently, refmt: 1. Will decode null to a zero value (i.e., `MyStruct{}`) 2. Can be instructed to skip zero values when encoding by specifying "omitempty". However, there isn't a way...

At least when used with CBOR tags. Repro: https://github.com/polydawn/refmt/compare/master...Stebalien:repro/nil-deref Trace: ``` * /home/steb/projects/go/src/github.com/polydawn/refmt/obj/objFixtures_test.go Line 1540: - runtime error: invalid memory address or nil pointer dereference goroutine 6 [running]: panic(0x5d2260, 0x78f230)...