From e798dc2763edab11eadc45df377ff160c6c86fd1 Mon Sep 17 00:00:00 2001 From: Torkel Rogstad Date: Thu, 10 Feb 2022 16:00:40 +0100 Subject: [PATCH] Add docs on 1.17 build tags --- assert/assertion_compare_can_convert.go | 4 ++++ assert/assertion_compare_go1.17_test.go | 4 ++++ assert/assertion_compare_legacy.go | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/assert/assertion_compare_can_convert.go b/assert/assertion_compare_can_convert.go index 1838be3fe..4a5627c32 100644 --- a/assert/assertion_compare_can_convert.go +++ b/assert/assertion_compare_can_convert.go @@ -1,5 +1,9 @@ // +build go1.17 +// TODO: once support for Go 1.16 is dropped, this file can be +// merged/removed with assertion_compare_go1.17_test.go and +// assertion_compare_legacy.go + package assert import "reflect" diff --git a/assert/assertion_compare_go1.17_test.go b/assert/assertion_compare_go1.17_test.go index 0511e648a..bff219de6 100644 --- a/assert/assertion_compare_go1.17_test.go +++ b/assert/assertion_compare_go1.17_test.go @@ -1,5 +1,9 @@ // +build go1.17 +// TODO: once support for Go 1.16 is dropped, this file can be +// merged/removed with assertion_compare_can_convert.go and +// assertion_compare_legacy.go + package assert import ( diff --git a/assert/assertion_compare_legacy.go b/assert/assertion_compare_legacy.go index 478e953c0..0bb8ad712 100644 --- a/assert/assertion_compare_legacy.go +++ b/assert/assertion_compare_legacy.go @@ -1,5 +1,9 @@ // +build !go1.17 +// TODO: once support for Go 1.16 is dropped, this file can be +// merged/removed with assertion_compare_go1.17_test.go and +// assertion_compare_can_convert.go + package assert import "reflect"