Replaced gopkg with modash

This commit is contained in:
Leon Mika 2025-10-26 10:47:07 +11:00
parent 7c76e61b08
commit 1dcfede417
7 changed files with 15 additions and 21 deletions

View file

@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/lmika/gopkgs/fp/maps"
"lmika.dev/pkg/modash/momap"
"os"
"slices"
"sort"
@ -33,7 +33,7 @@ func (d Doc) config(cmdName string, r *REPL) {
func (r *REPL) helpBuiltin(ctx context.Context, args ucl.CallArgs) (any, error) {
switch {
case args.NArgs() == 0:
names := maps.Keys(r.commandDocs)
names := momap.Keys(r.commandDocs)
sort.Strings(names)
tabWriter := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)