diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/variables.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/variables.go b/pkg/variables.go index ed09d31..bb3096d 100644 --- a/pkg/variables.go +++ b/pkg/variables.go @@ -70,6 +70,9 @@ type VariablePromise struct { func (s VariablePromise) Bytes() []byte { return s.value.Bytes() } +func (s VariablePromise) Int() (int, error) { + return s.value.Int() +} func (s VariablePromise) String() string { return s.value.String() } |