github.com/altipla-consulting/ravendb-go-client@v0.1.3/suggestion_with_term.go (about) 1 package ravendb 2 3 var _ SuggestionBase = &SuggestionWithTerm{} 4 5 type SuggestionWithTerm struct { 6 SuggestionCommon 7 Term string 8 } 9 10 func NewSuggestionWithTerm(field string) *SuggestionWithTerm { 11 res := &SuggestionWithTerm{} 12 res.Field = field 13 return res 14 }