All checks were successful
continuous-integration/drone/push Build is passing
See #478
13 lines
440 B
Go
13 lines
440 B
Go
//go:build !darwin && !windows && !linux && !solaris && !freebsd && !netbsd && !openbsd && !dragonfly
|
|
// +build !darwin,!windows,!linux,!solaris,!freebsd,!netbsd,!openbsd,!dragonfly
|
|
|
|
package cancelreader
|
|
|
|
import "io"
|
|
|
|
// NewReader returns a fallbackCancelReader that satisfies the CancelReader but
|
|
// does not actually support cancellation.
|
|
func NewReader(reader io.Reader) (CancelReader, error) {
|
|
return newFallbackCancelReader(reader)
|
|
}
|