github.com/altipla-consulting/ravendb-go-client@v0.1.3/facet_setup.go (about) 1 package ravendb 2 3 // FacetSetup describes new facet setup 4 type FacetSetup struct { 5 ID string 6 Facets []*Facet `json:"Facets,omitempty"` 7 // Note: omitempty here is important. If we send 'null', 8 // (as opposed to Java's '[]') the server will error out 9 // when parsing query referencing this setup 10 RangeFacets []*RangeFacet `json:"RangeFacets,omitempty"` 11 }