aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-09-13 09:51:55 -0400
committerGopher Robot <gobot@golang.org>2022-11-02 19:08:10 +0000
commitca8b31920a23541dda56bc76d3ddcaef3c3c0866 (patch)
tree9e3367dc522840640e73be92544d3a568ab37997 /api
parentbe7068fb0804f661515c678bee9224b90b32869a (diff)
downloadgo-ca8b31920a23541dda56bc76d3ddcaef3c3c0866.tar.xz
cmd/api: make check pickier about api/*.txt
We don't have a formatter for these files, so check here that they are in the right form to allow 'cat next/*.txt >go1.X.txt' at the end of each cycle. Fix the api files that the check finds. Change-Id: I0c5e4ab11751c7d0afce32503131d487313f41c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/431335 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/next/42537.txt2
-rw-r--r--api/next/43620.txt2
-rw-r--r--api/next/45899.txt2
-rw-r--r--api/next/46746.txt2
-rw-r--r--api/next/50429.txt2
-rw-r--r--api/next/51896.txt2
-rw-r--r--api/next/53482.txt4
7 files changed, 8 insertions, 8 deletions
diff --git a/api/next/42537.txt b/api/next/42537.txt
index 4f2446aaf3..bc83639a1d 100644
--- a/api/next/42537.txt
+++ b/api/next/42537.txt
@@ -1,4 +1,4 @@
pkg bytes, func CutPrefix([]uint8, []uint8) ([]uint8, bool) #42537
pkg bytes, func CutSuffix([]uint8, []uint8) ([]uint8, bool) #42537
pkg strings, func CutPrefix(string, string) (string, bool) #42537
-pkg strings, func CutSuffix(string, string) (string, bool) #42537 \ No newline at end of file
+pkg strings, func CutSuffix(string, string) (string, bool) #42537
diff --git a/api/next/43620.txt b/api/next/43620.txt
index 9d272fd0c7..6753f1527f 100644
--- a/api/next/43620.txt
+++ b/api/next/43620.txt
@@ -1 +1 @@
-pkg testing, method (*B) Elapsed() time.Duration #43620 \ No newline at end of file
+pkg testing, method (*B) Elapsed() time.Duration #43620
diff --git a/api/next/45899.txt b/api/next/45899.txt
index a823142b15..9b06edbb3c 100644
--- a/api/next/45899.txt
+++ b/api/next/45899.txt
@@ -2,4 +2,4 @@ pkg io, type OffsetWriter struct #45899
pkg io, func NewOffsetWriter(WriterAt, int64) *OffsetWriter #45899
pkg io, method (*OffsetWriter) Write([]uint8) (int, error) #45899
pkg io, method (*OffsetWriter) WriteAt([]uint8, int64) (int, error) #45899
-pkg io, method (*OffsetWriter) Seek(int64, int) (int64, error) #45899 \ No newline at end of file
+pkg io, method (*OffsetWriter) Seek(int64, int) (int64, error) #45899
diff --git a/api/next/46746.txt b/api/next/46746.txt
index ae07682b34..f48771d522 100644
--- a/api/next/46746.txt
+++ b/api/next/46746.txt
@@ -1,2 +1,2 @@
pkg reflect, method (Value) Comparable() bool #46746
-pkg reflect, method (Value) Equal(Value) bool #46746 \ No newline at end of file
+pkg reflect, method (Value) Equal(Value) bool #46746
diff --git a/api/next/50429.txt b/api/next/50429.txt
index 558937de1c..2c51384c68 100644
--- a/api/next/50429.txt
+++ b/api/next/50429.txt
@@ -1 +1 @@
-pkg go/ast, type RangeStmt struct, Range token.Pos #50429 \ No newline at end of file
+pkg go/ast, type RangeStmt struct, Range token.Pos #50429
diff --git a/api/next/51896.txt b/api/next/51896.txt
index d4ef14cfa2..ca7ecd069b 100644
--- a/api/next/51896.txt
+++ b/api/next/51896.txt
@@ -1 +1 @@
-pkg unicode/utf16, func AppendRune([]uint16, int32) []uint16 #51896 \ No newline at end of file
+pkg unicode/utf16, func AppendRune([]uint16, int32) []uint16 #51896
diff --git a/api/next/53482.txt b/api/next/53482.txt
index a54894498f..d437c8abb2 100644
--- a/api/next/53482.txt
+++ b/api/next/53482.txt
@@ -1,2 +1,2 @@
-pkg net, const FlagRunning = 32 #53482
-pkg net, const FlagRunning Flags #53482
+pkg net, const FlagRunning = 32 #53482
+pkg net, const FlagRunning Flags #53482