diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 21:29:16 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 21:29:16 +0200 |
| commit | a701845a2751a3a260e9b3cc3b24e900eeb93391 (patch) | |
| tree | 4645b31e86ed71ef6001d0e5327106c454d6ac8c /cmd | |
| parent | 9bee0ec4c3dd232d8e3957eb3d4b27cca4a8414c (diff) | |
Rename calculator package to perc
Renamed internal/calculator directory to internal/perc, updated package name from 'calculator' to 'perc', and updated all import references.
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gt/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gt/main.go b/cmd/gt/main.go index eccabf7..5ace4c5 100644 --- a/cmd/gt/main.go +++ b/cmd/gt/main.go @@ -52,7 +52,7 @@ import ( "strings" "codeberg.org/snonux/perc/internal" - "codeberg.org/snonux/perc/internal/calculator" + "codeberg.org/snonux/perc/internal/perc" "codeberg.org/snonux/perc/internal/repl" "codeberg.org/snonux/perc/internal/rpn" "github.com/mattn/go-isatty" @@ -100,7 +100,7 @@ func runCommand(args []string) (string, error) { } // Fall back to percentage calculation - result, err := calculator.Parse(input) + result, err := perc.Parse(input) if err != nil { return "", fmt.Errorf("rpn fallback failed for input %q: %w", input, err) } |
