shiny/driver/internal/event: factor out initalization boilerplate into a method

Change-Id: Ia89c7d9cb122dd33d29d6b443d16b895f021032f
Reviewed-on: https://go-review.googlesource.com/94136
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed
tree: 0bd085bc49b44b13bdc896cfc773e05db77b63da
  1. ebnf/
  2. ebnflint/
  3. fsnotify/
  4. inotify/
  5. io/
  6. mmap/
  7. old/
  8. rand/
  9. shiny/
  10. shootout/
  11. utf8string/
  12. winfsnotify/
  13. .gitattributes
  14. .gitignore
  15. AUTHORS
  16. codereview.cfg
  17. CONTRIBUTING.md
  18. CONTRIBUTORS
  19. LICENSE
  20. PATENTS
  21. README.md
README.md

exp

This subrepository holds experimental and deprecated (in the old directory) packages.

The idea for this subrepository originated as the pkg/exp directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get these packages.

Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.

In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)

Caveat emptor.