diff --git a/script/variable.go b/script/variable.go index 41ded73..51c7a84 100644 --- a/script/variable.go +++ b/script/variable.go @@ -12,6 +12,7 @@ type Variable struct { value *objects.Object } +// NewVariable creates a Variable. func NewVariable(name string, value interface{}) (*Variable, error) { obj, err := interfaceToObject(value) if err != nil {