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.

16 lines
267 B

  1. package snowballstem
  2. import "fmt"
  3. type AmongF func(env *Env, ctx interface{}) bool
  4. type Among struct {
  5. Str string
  6. A int32
  7. B int32
  8. F AmongF
  9. }
  10. func (a *Among) String() string {
  11. return fmt.Sprintf("str: `%s`, a: %d, b: %d, f: %p", a.Str, a.A, a.B, a.F)
  12. }