flags : can check for both Flag types because the value.FieldByName().Type() can be printed

This commit is contained in:
bth 2026-01-18 18:29:34 -08:00
commit 0d32446986
4 changed files with 10 additions and 15 deletions

View file

@ -1,8 +1,6 @@
package sort
import (
"fmt"
"github.com/brtholomy/um/go/flags"
)
@ -45,6 +43,5 @@ func parseArgs(args []string) options {
}
func Sort(args []string) {
opts := parseArgs(args)
fmt.Println(opts)
_ = parseArgs(args)
}