Skip to content

Please consider supporting struct-based documents #8

Description

@finnbear

Right now, this library supports interface-based documents of type map[string]interface{} and []interface{}. It would be useful to support any arbitrary struct-based or map[Stringer]anything-based document supported by encoding/json such as:

type Document struct {
    Foo Bar
}

type Bar struct {
    Number float64
}

With the pointer:
/Foo/Number

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions