Revert "[io] Update go bindings to use fuchsia.io/Unlink2"

This is a partial revert of commit 868c35dc2bdc0e906263a866a0bff591c08ccc82.

Reason for revert: we want to change Unlink2 to add some options.

Original change's description:
> [io] Update go bindings to use fuchsia.io/Unlink2
>
> This is part of a soft transition from io to io2, this one making
> fuchsia.io/Unlink the same as fuchsia.io2/Unlink via an intermediate
> step of a fuchsia.io/Unlink2 method.
>
> The only intentional change here is to directory.go and namespace.go.
> The rest are from regeneration-by-script. I expect the zx/io/impl.go as
> I recently changed those, but I think io2/impl.go and
> posix/socket/impl.go are out of date from unrelated changes.
>
> In any case, no intended change in functionality.
>
> Bug: 71365
> Change-Id: I757aa432fe1309dc08e66a2eb4d52600b8f39ba7
> Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/515537
> Commit-Queue: Scott Graham <scottmg@google.com>
> Reviewed-by: Tamir Duberstein <tamird@google.com>

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 71365
Change-Id: I488fc4f866b9634cf6b49417d605225d4b97ab1b
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/519500
Reviewed-by: Scott Graham <scottmg@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Chris Suter <csuter@google.com>
4 files changed
tree: c590fe441826c6196ce5ba4e910ccf8d532bcb88
  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. AUTHORS
  14. BUILD.gn
  15. CONTRIBUTING.md
  16. CONTRIBUTORS
  17. favicon.ico
  18. go.mod
  19. LICENSE
  20. PATENTS
  21. README.md
  22. regen-fidl
  23. regen-syscalls
  24. robots.txt
  25. SECURITY.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 3.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://golang.org/dl/.

After downloading a binary release, visit https://golang.org/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://golang.org/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://golang.org/doc/contribute.html.

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