Browse Source

fix NewFeeder function help

This will fix the Go Help for function NewFeeder
v0.2.x
Nagy Károly Gábriel 3 years ago committed by Alejandro Mery
parent
commit
65f2605a8a
  1. 2
      runes/feeder.go

2
runes/feeder.go

@ -28,7 +28,7 @@ func NewFeederString(s string) *Feeder {
return NewFeeder(strings.NewReader(s)) return NewFeeder(strings.NewReader(s))
} }
// NewFeederString creates a new Feeder using a Reader as input // NewFeeder creates a new Feeder using a Reader as input
func NewFeeder(in io.Reader) *Feeder { func NewFeeder(in io.Reader) *Feeder {
rd, ok := in.(io.RuneReader) rd, ok := in.(io.RuneReader)
if !ok { if !ok {

Loading…
Cancel
Save