diff options
Diffstat (limited to 'internal/node/string.go')
-rw-r--r-- | internal/node/string.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/node/string.go b/internal/node/string.go new file mode 100644 index 0000000..90de4a7 --- /dev/null +++ b/internal/node/string.go @@ -0,0 +1,9 @@ +package node + +func (n *Node) SetString(v string) { + n.stringValue = v +} + +func (n *Node) GetString() string { + return n.stringValue +} |