Equalfile is a pure Go package for comparing files.
Clone outside of GOPATH:
git clone https://github.com/udhos/equalfile
cd equalfile
Run tests:
go test
Install example application 'equal':
go install ./equal
Run example application:
~/go/bin/equal
Get equalfile package:
go get github.com/udhos/equalfile
Install example application 'equal':
go install github.com/udhos/equalfile/equal
Run example application:
~/go/bin/equal
Add the import path:
import "github.com/udhos/equalfile"
See: equalfile GoDoc API
See example application: equal source code