From bedfa4e1c37bd08063865da628f242d27ca06ec4 Mon Sep 17 00:00:00 2001 From: Daniel Theophanes Date: Thu, 21 Jun 2018 10:41:26 -0700 Subject: text/template/parse: undo breaking API changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit golang.org/cl/84480 altered the API for the parse package for clarity and consistency. However, the changes also broke the API for consumers of the package. This CL reverts the API to the previous spelling, adding only a single new exported symbol. Fixes #25968 Change-Id: Ieb81054b61eeac7df3bc3864ef446df43c26b80f Reviewed-on: https://go-review.googlesource.com/120355 Reviewed-by: Daniel Martí Reviewed-by: Rob Pike Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot --- api/except.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'api') diff --git a/api/except.txt b/api/except.txt index b85003eda2..e104f8e17b 100644 --- a/api/except.txt +++ b/api/except.txt @@ -362,15 +362,6 @@ pkg syscall (openbsd-386-cgo), const SYS_KILL = 37 pkg syscall (openbsd-amd64), const SYS_KILL = 37 pkg syscall (openbsd-amd64-cgo), const SYS_KILL = 37 pkg unicode, const Version = "9.0.0" -pkg text/template/parse, method (*VariableNode) Copy() Node -pkg text/template/parse, method (*VariableNode) String() string -pkg text/template/parse, method (VariableNode) Position() Pos -pkg text/template/parse, method (VariableNode) Type() NodeType -pkg text/template/parse, type PipeNode struct, Decl []*VariableNode -pkg text/template/parse, type VariableNode struct -pkg text/template/parse, type VariableNode struct, Ident []string -pkg text/template/parse, type VariableNode struct, embedded NodeType -pkg text/template/parse, type VariableNode struct, embedded Pos pkg syscall (windows-386), type CertChainPolicyPara struct, ExtraPolicyPara uintptr pkg syscall (windows-386), type CertChainPolicyStatus struct, ExtraPolicyStatus uintptr pkg syscall (windows-386), type CertContext struct, CertInfo uintptr -- cgit v1.3