[fidl][go] Remove support for the v1 wire format

This CL makes the FIDL Go bindings reject v1 messages, and removes logic
for supporting the v1 wire format. This could have been done a long time
ago but we forgot about it.

A follow up CL will remove UsesV2WireFormat and IsSupportedVersion()
once fuchsia.git is updated to move off those.

Bug: 79584
Test: fx test fidl_{client,server}_suite_go_test
Change-Id: I3fc7b03ad94a06e07b35c2f83228469a569fe4c1
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/923052
Commit-Queue: Mitchell Kember <mkember@google.com>
Reviewed-by: Ian McKellar <ianloic@google.com>
5 files changed
tree: 771392f3cc39abcefbf79681b718ca22219a1796
  1. .github/
  2. api/
  3. doc/
  4. lib/
  5. makefuchsia/
  6. makeroot/
  7. meta/
  8. misc/
  9. src/
  10. test/
  11. .gitattributes
  12. .gitignore
  13. BUILD.gn
  14. codereview.cfg
  15. CONTRIBUTING.md
  16. LICENSE
  17. OWNERS
  18. PATENTS
  19. README.md
  20. regen-api
  21. regen-api.py
  22. regen-fidl
  23. regen-syscalls
  24. SECURITY.md
  25. UPGRADE.md
  26. VERSION
README.md

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Download and Install

Binary Distributions

Official binary distributions are available at https://go.dev/dl/.

After downloading a binary release, visit https://go.dev/doc/install for installation instructions.

Install From Source

If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.

Contributing

Go is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.

Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.