From b40723b0b8d482140c5152b22233c1b62ec7838d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 11 Mar 2024 23:19:13 +0100 Subject: chore(variables): support integer interpolation for all values --- pkg/variables.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/variables.go') 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() } -- cgit v1.2.3