diff options
Diffstat (limited to 'vendor/github.com/google/go-cmp/cmp/internal/flags')
3 files changed, 29 insertions, 0 deletions
diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go new file mode 100644 index 0000000..a9e7fc0 --- /dev/null +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go | |||
@@ -0,0 +1,9 @@ | |||
1 | // Copyright 2019, 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.md file. | ||
4 | |||
5 | package flags | ||
6 | |||
7 | // Deterministic controls whether the output of Diff should be deterministic. | ||
8 | // This is only used for testing. | ||
9 | var Deterministic bool | ||
diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go new file mode 100644 index 0000000..01aed0a --- /dev/null +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go | |||
@@ -0,0 +1,10 @@ | |||
1 | // Copyright 2019, 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.md file. | ||
4 | |||
5 | // +build !go1.10 | ||
6 | |||
7 | package flags | ||
8 | |||
9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. | ||
10 | const AtLeastGo110 = false | ||
diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go new file mode 100644 index 0000000..c0b667f --- /dev/null +++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go | |||
@@ -0,0 +1,10 @@ | |||
1 | // Copyright 2019, 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.md file. | ||
4 | |||
5 | // +build go1.10 | ||
6 | |||
7 | package flags | ||
8 | |||
9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. | ||
10 | const AtLeastGo110 = true | ||