https://github.com/udhos/equalfile
Go package to compare files
https://github.com/udhos/equalfile
Last synced: 3 months ago
JSON representation
Go package to compare files
- Host: GitHub
- URL: https://github.com/udhos/equalfile
- Owner: udhos
- License: mit
- Created: 2016-11-18T11:48:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T21:12:54.000Z (over 6 years ago)
- Last Synced: 2025-10-11T23:32:02.305Z (3 months ago)
- Language: Go
- Size: 56.6 KB
- Stars: 27
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://godoc.org/github.com/udhos/equalfile)
[](https://goreportcard.com/report/github.com/udhos/equalfile)
[](https://travis-ci.org/udhos/equalfile)
[](https://circleci.com/gh/udhos/equalfile)
[](http://gocover.io/github.com/udhos/equalfile)
About Equalfile
===============
Equalfile is a pure Go package for comparing files.
Install
=======
## Recipe with Modules (Go 1.11 or higher)
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
## Recipe without Modules (before Go 1.11)
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
Usage
=====
Add the import path:
import "github.com/udhos/equalfile"
See: [equalfile GoDoc API](https://godoc.org/github.com/udhos/equalfile)
Example Application
===================
See example application: [equal source code](https://github.com/udhos/equalfile/blob/master/equal/main.go)