consider using iferr from tid utility pkg
go-dockly opened this issue · 0 comments
go-dockly commented
consider to shorten the err checks in the main
if err != nil { fmt.Fprintf(os.Stderr, "%s\n", err.Error()) os.Exit(1) }
"github.com/thisisdevelopment/go-dockly/xerrors/iferr"
iferr.Exit(err, "<custom message>")