Documentation ¶
Overview ¶
Example ¶
package main import ( "github.com/teambition/gear" partial "github.com/teambition/gear-partial-response" ) func main() { app := gear.New() app.Set(gear.SetSender, partial.New(partial.Options{Query: "fields"})) }
Output:
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Query specifies the querystring to use. By defaults it is "fields". Query string }
Options is the partial response middleware options.
Click to show internal directories.
Click to hide internal directories.