debug_disable.go

 1// Copyright 2017, The Go Authors. All rights reserved.
 2// Use of this source code is governed by a BSD-style
 3// license that can be found in the LICENSE file.
 4
 5//go:build !cmp_debug
 6// +build !cmp_debug
 7
 8package diff
 9
10var debug debugger
11
12type debugger struct{}
13
14func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc {
15	return f
16}
17func (debugger) Update() {}
18func (debugger) Finish() {}