summaryrefslogtreecommitdiff
path: root/internal/repl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-20 22:55:39 +0200
committerPaul Buetow <paul@buetow.org>2026-03-20 22:55:39 +0200
commit591f12f6c2eafa0d565ed85867d03e92f28406b5 (patch)
treed557f148520c708bfb4da75b82230eba56cbf907 /internal/repl
parenta90f7eb6a1c538972eaf52898dd65fa76f26b1d3 (diff)
internal/calculator/internal/repl: Add missing comments for exported functions
- Added Parse() comment in calculator.go - Updated Commands() comment in repl/commands.go to be more descriptive
Diffstat (limited to 'internal/repl')
-rw-r--r--internal/repl/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/repl/commands.go b/internal/repl/commands.go
index 656f670..d03672e 100644
--- a/internal/repl/commands.go
+++ b/internal/repl/commands.go
@@ -8,7 +8,7 @@ import (
// builtinCommands defines the built-in REPL commands
var builtinCommands = []string{"help", "clear", "quit", "exit", "rpn", "calc"}
-// Commands returns the list of built-in command names
+// Commands returns the list of built-in command names supported by the REPL.
func Commands() []string {
return builtinCommands
}