2013-11-23 19:56:54 +01:00
2013-11-23 19:56:54 +01:00
2013-11-23 19:56:54 +01:00

Here is a partial port of python 3 difflib package. Its main goal was to make available a unified diff implementation, mostly for testing purposes.

The following class and functions have be ported:

  • SequenceMatcher
  • unified_diff()
  • context_diff()

Related doctests and unittests have been ported as well.

I have barely used to code yet so do not consider it being production-ready. The API is likely to evolve too.

Description
Partial port of Python difflib package to Go
Readme BSD-3-Clause 95 KiB
Languages
Go 100%