add modules and update readme

This commit is contained in:
sammiq 2019-03-09 15:44:32 +11:00
parent 2426f65e48
commit 08b3b803e0
3 changed files with 12 additions and 5 deletions

View File

@ -8,25 +8,25 @@ History
-------
This tool is also written in Go and born of a frustration that:
1. the NASOS tool is being used to archive isos with limited tools available
1. the NASOS tool is being used to archive ISOs with limited implementations available
2. the original NASOS tool is written as a .NET GUI tool for Windows and is slow on Linux
3. it is hard to find a canonical site for getting the tool
4. It requires downloading unknown binaries
This is a pure Go implementation that documents how this works and
should work on all platforms supported by Go. This allevates all the
should work on all platforms supported by Go. This alleviates all the
concerns above.
Installation
------------
You need a working [Go](https://golang.org/) installation (I used Go 1.10.1 on Ubuntu Linux 18.04)
You need a working [Go](https://golang.org/) installation (I used Go 1.12 on Ubuntu Linux 18.04)
You will neet to install the required libraries:
For Go < 1.11 the you will need to install the required libraries manually:
go get github.com/jessevdk/go-flags
You can then build the tool by:
Build the tool with:
go install

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module github.com/sammiq/dec-decode
go 1.12
require github.com/jessevdk/go-flags v1.4.0

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=