Fixed standard input error handling

This commit is contained in:
Julien Dessaux 2021-12-04 00:07:41 +01:00
parent 18b1117749
commit 2dbd22114b
3 changed files with 25 additions and 12 deletions

View file

@ -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 {