dmitri.shuralyov.com/service/change/maintner

update .../go-diff/diff import path

It has changed in https://github.com/sourcegraph/go-diff/pull/30.

Updates https://github.com/sourcegraph/go-diff/issues/27
dmitshur committed 5 years ago commit c30c625107fb4624ceab7b0e90d22159c9d8e372
Showing partial commit. Full Commit
Collapse all
maintner/maintner.go
@@ -11,12 +11,12 @@ import (
	"unicode"

	"dmitri.shuralyov.com/service/change"
	"github.com/shurcooL/issues"
	"github.com/shurcooL/users"
	"github.com/sourcegraph/go-diff/diff"
	"golang.org/x/build/maintner"
	"sourcegraph.com/sourcegraph/go-diff/diff"
)

// NewService creates a change.Service backed with the given corpus.
func NewService(corpus *maintner.Corpus) change.Service {
	return service{