go-capnp icon indicating copy to clipboard operation
go-capnp copied to clipboard

Cap'n Proto library and code generator for Go

Results 87 go-capnp issues
Sort by recently updated
recently updated
newest added

As mentioned in #62, I'm working on table-based tests for go.sandstorm. For this to work I need pogs-style structs for basically every type in the sandstorm API. It goes without...

enhancement
help wanted

It would be nice if pogs allowed you to use insert/extract with map types, so you could use it to do things like making a generic json (or msgpack, or...

enhancement

If you marshal a SingleSegment and unmarshal it again, you get a MultiSegment. If you then start writing to that then you get several segments instead of using a single...

thinking

Having a global registry of schemas creates problems with vendored copies of go-capnproto2, even if the application doesn't use reflection. I'd like to change APIs that require reflection data to...

help wanted
cleanup

One of the notable examples is in persistent.capnp that the annotation and the type collide. However, there are subtler cases, such as the `struct` field in schema.capnp should not collide...

bug
help wanted

While Go does not have generics, specific applications may want to create pogs-structs that instantiate a generic Cap'n Proto type with specific parameters. For instance, a map struct: ```capnp struct...

enhancement

pogs structs should be able to insert and extract data from a struct that it does not have an explicit field for (whether that be from an omitted struct field...

enhancement

So, I just got a basic program running that responds to a `GET /` via the normal net/http package API, but talking to the sandstorm api server. woo! but it...

enhancement
help wanted

The implementation does *not* panic, and in fact some of the tests depend on this behavior to do a defer client.Release() even though they may end up releasing a client...

Presumably at some point this code was in a method called Resolve, but this should be Fulfill now.