Replaced gopkg with modash
This commit is contained in:
parent
7c76e61b08
commit
1dcfede417
7 changed files with 15 additions and 21 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue