MCPcopy
hub / github.com/dgraph-io/dgraph / MonthTokenizer

Struct MonthTokenizer

tok/tok.go:314–314  ·  view source on GitHub ↗

MonthTokenizer generates month tokens from datetime data.

Source from the content-addressed store, hash-verified

312
313// MonthTokenizer generates month tokens from datetime data.
314type MonthTokenizer struct{}
315
316func (t MonthTokenizer) Name() string { return "month" }
317func (t MonthTokenizer) Type() string { return "datetime" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected