/equalfile

Go package to compare files

Primary LanguageGoMIT LicenseMIT

GoDoc Go Report Card Travis Build Status Circle CI gocover

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

Example Application

See example application: equal source code