Fixed standard input error handling
This commit is contained in:
parent
18b1117749
commit
2dbd22114b
3 changed files with 25 additions and 12 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
var myRand = rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
|
||||
type InputFunction func() int
|
||||
type InputFunction func() (int, error)
|
||||
type OutputFunction func(v int)
|
||||
|
||||
type Pointer struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue