diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-24 22:38:12 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-24 22:38:12 +0200 |
| commit | e17a6fca9d8b8f6ee24274a4afaaa4dbfef8c90b (patch) | |
| tree | 0ad8a8a4fe36c6494bc1cf64ce85fa945c0c9271 /internal/repl/repl_test.go | |
| parent | 67d04283196dcbff59d1eb343e4fc949c329a695 (diff) | |
refactor: Move RPNState and related declarations to top of repl.go
- Move RPNState type definition before any functions
- Move rpnState and rpnStateOnce variable declarations before any functions
- Keep REPL struct and NewREPL constructor at the top (as per Go best practices)
- Update getRPNState comment to be more descriptive
This change follows Go best practices where constants, global variables, and type
definitions should be at the top of the file before functions.
Diffstat (limited to 'internal/repl/repl_test.go')
0 files changed, 0 insertions, 0 deletions
