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