7 Equalfile is a pure Go package for comparing files

github.com godoc.org goreportcard.com posted by Everton Marques 2667 days ago  

// Python:

import filecmp

if filecmp.cmp(filename1, filename2, shallow=False):

// Go:

import "github.com/udhos/equalfile"

if equal, err := equalfile.CompareFile(filename1, filename2); err != nil && equal {

Register to comment or vote on this story