Skip to content

Commit f716495

Browse files
committed
Merge branch 'master' of https://github.com/pmezard/go-difflib
2 parents db85041 + 5d4384e commit f716495

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.travis.yml

-5
This file was deleted.

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
go-difflib
22
==========
33

4-
[![Build Status](https://travis-ci.org/pmezard/go-difflib.png?branch=master)](https://travis-ci.org/pmezard/go-difflib)
4+
THIS PACKAGE IS NO LONGER MAINTAINED.
5+
6+
At this point, I have no longer the time nor the interest to work on go-difflib. I apologize for the inconvenience.
7+
58
[![GoDoc](https://godoc.org/github.com/pmezard/go-difflib/difflib?status.svg)](https://godoc.org/github.com/pmezard/go-difflib/difflib)
69

710
Go-difflib is a partial port of python 3 difflib package. Its main goal
@@ -26,14 +29,14 @@ Diffs are configured with Unified (or ContextDiff) structures, and can
2629
be output to an io.Writer or returned as a string.
2730

2831
```Go
29-
diff := UnifiedDiff{
32+
diff := difflib.UnifiedDiff{
3033
A: difflib.SplitLines("foo\nbar\n"),
3134
B: difflib.SplitLines("foo\nbaz\n"),
3235
FromFile: "Original",
3336
ToFile: "Current",
3437
Context: 3,
3538
}
36-
text, _ := GetUnifiedDiffString(diff)
39+
text, _ := difflib.GetUnifiedDiffString(diff)
3740
fmt.Printf(text)
3841
```
3942

0 commit comments

Comments
 (0)