You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
267 B
17 lines
267 B
5 years ago
|
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)
|
||
|
}
|