aboutsummaryrefslogtreecommitdiff
path: root/pkg/pointer/pointer.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-12-04 00:07:41 +0100
committerJulien Dessaux2021-12-04 00:07:41 +0100
commit2dbd22114b4906c6ae60de15f4c30a5ea38441c6 (patch)
treeb8035d711eee7e69b33a0bc59f8cf034a1c53f74 /pkg/pointer/pointer.go
parentRenamed headless_interpreter to gofunge98 (diff)
downloadgofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.tar.gz
gofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.tar.bz2
gofunge98-2dbd22114b4906c6ae60de15f4c30a5ea38441c6.zip
Fixed standard input error handling
Diffstat (limited to 'pkg/pointer/pointer.go')
-rw-r--r--pkg/pointer/pointer.go2
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 {