chadnetzer / equalfile

Go package to compare files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 (since Go 1.11)

Clone outside of GOPATH:

git clone https://github.com/udhos/equalfile
cd equalfile

Install example application 'equal':

go install ./equal

Run example application:

~/go/bin/equal

Recipe without Modules (before Go 1.11)

Set up GOPATH as usual:

export GOPATH=$HOME/go
mkdir $GOPATH

Get equalfile package:

go get github.com/udhos/equalfile

Install example application 'equal':

go install github.com/udhos/equalfile/equal

Run example application:

$GOPATH/bin/equal

Usage

Add the import path:

import "github.com/udhos/equalfile"

See: equalfile GoDoc API

Example Application

See example application: equal source code

About

Go package to compare files

License:MIT License


Languages

Language:Go 96.9%Language:Shell 3.1%