diff options
author | Julien Dessaux | 2021-12-04 00:07:41 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-12-04 00:07:41 +0100 |
commit | 2dbd22114b4906c6ae60de15f4c30a5ea38441c6 (patch) | |
tree | b8035d711eee7e69b33a0bc59f8cf034a1c53f74 /pkg/pointer/pointer.go | |
parent | Renamed headless_interpreter to gofunge98 (diff) | |
download | gofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.tar.gz gofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.tar.bz2 gofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.zip |
Fixed standard input error handling
Diffstat (limited to '')
-rw-r--r-- | pkg/pointer/pointer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pointer/pointer.go b/pkg/pointer/pointer.go index 4467235..1044cff 100644 --- a/pkg/pointer/pointer.go +++ b/pkg/pointer/pointer.go @@ -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 { |