NewDTSVector is a helper routine to create a DTSVector initialized from its argument.
(v tsearch.TSVector)
| 4491 | // NewDTSVector is a helper routine to create a DTSVector initialized from its |
| 4492 | // argument. |
| 4493 | func NewDTSVector(v tsearch.TSVector) *DTSVector { |
| 4494 | return &DTSVector{TSVector: v} |
| 4495 | } |
| 4496 | |
| 4497 | // ParseDTSVector takes a string of TSVector and returns a DTSVector value. |
| 4498 | func ParseDTSVector(s string) (Datum, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…