mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 22:01:22 +00:00
fdf750e4d4
* Update blevesearch v0.8.1 -> v1.0.7 * make vendor Co-authored-by: zeripath <art27@cantab.net>
17 lines
267 B
Go
Vendored
17 lines
267 B
Go
Vendored
package snowballstem
|
|
|
|
import "fmt"
|
|
|
|
type AmongF func(env *Env, ctx interface{}) bool
|
|
|
|
type Among struct {
|
|
Str string
|
|
A int32
|
|
B int32
|
|
F AmongF
|
|
}
|
|
|
|
func (a *Among) String() string {
|
|
return fmt.Sprintf("str: `%s`, a: %d, b: %d, f: %p", a.Str, a.A, a.B, a.F)
|
|
}
|