Skip to content
Comparison library for Golang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.golangci.yml
.travis.yml
LICENSE
Makefile
README.md
compare.go
compare_test.go
config.go
example_test.go
func.go
go.mod
path.go
path_test.go
result.go
result_test.go
util.go
util_test.go

README.md

Compare

Comparison library for Golang.

GoDoc Build Status

Features

  • Similar to reflect.DeepEqual()
  • Returns a detailed diff result
  • Supports custom comparison functions:
    • .Equal() / .Eq() / .Cmp() / ...
    • Add you own functions !

Examples

You can’t perform that action at this time.