[hexxy] init

This commit is contained in:
mizi 2024-01-15 14:42:30 -09:00
parent f5307e6a75
commit 0251590ef6
3 changed files with 14 additions and 1 deletions

7
go.mod Normal file
View file

@ -0,0 +1,7 @@
module hexxy
go 1.21.5
require github.com/jessevdk/go-flags v1.5.0
require golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 // indirect

4
go.sum Normal file
View file

@ -0,0 +1,4 @@
github.com/jessevdk/go-flags v1.5.0 h1:1jKYvbxEjfUl0fmqTCOfonvskHHXMjBySTLW4y9LFvc=
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 h1:EZ2mChiOa8udjfp6rRmswTbtZN/QzUQp4ptM4rnjHvc=
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

View file

@ -148,7 +148,9 @@ func Hexxy(args []string) error {
return err return err
} }
Hexdump(file, color) if err := Hexdump(file, color); err != nil {
return err
}
} }
return nil return nil