field

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields []string

Fields to be included in the response.

func (Fields) String

func (f Fields) String() string

String is the Stringer interface implementation.

func (*Fields) ToElasticSearch

func (f *Fields) ToElasticSearch() (string, error)

ToElasticSearch converts the `f` to a format that can be used in an ElasticSearch query: `["field1","field2"]`.

func (*Fields) UnmarshalParam

func (f *Fields) UnmarshalParam(src string) error

UnmarshalParam is the `BindUnmarshaler` implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL