lib: Replace x/devtools/internal/envutil with x/lib/envvar

A while ago I wrote envutil in the devtools repo, to make it
easier to deal with environment variables, and to make it easy
for the v23 tool to keep track of the mutations it had made.

Later on I noticed that there was similar code in x/ref in a few
places.

This CL removes envutil, and adds a new package envvar that may
be used by all other packages.  It behaves similarly to envutil,
and also to the code scattered around x/ref.

In a subsequent CL I'll add cmdline support for environment
variables using envvar.

MultiPart: 1/2

Change-Id: Idf25fc4e4d1a6ac673bb4ec78fb76e07ee0cebd2
3 files changed
tree: 095a1602ca50c8f9500bca3ec83b3112d5779427
  1. buildinfo/
  2. cmdline/
  3. dbutil/
  4. envvar/
  5. host/
  6. metadata/
  7. netconfig/
  8. netstate/
  9. pubsub/
  10. textutil/
  11. toposort/
  12. vlog/
  13. .gitignore
  14. AUTHORS
  15. CONTRIBUTORS
  16. GO.PACKAGE
  17. LICENSE
  18. PATENTS
  19. README.md
  20. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project.