More "go vet" fixes.

Turns out annotations on struct fields must be of the form:
`key:"value"`

When the value was not placed in quotes, the "json" annotation was being
ignored.

The fix:
- For the principal tool, I just set the quotes and "backward"
  compatibility with the previous field names is a concern that I'm
  disregarding
- For identityd/sql.go - I'm just removing the annotations that
  were being ignored anyway. Side note: JSON unmarshaling seems to
  be insenstive to the casing of the key string.

Change-Id: I7ccc38e5eebf4a41eefe042f0e184bec47aef03d
2 files changed
tree: 07907eacd2916fef0befc52e887ca55b4ae99316
  1. cmd/
  2. envvar/
  3. examples/
  4. internal/
  5. lib/
  6. profiles/
  7. services/
  8. test/
  9. .gitignore
  10. AUTHORS
  11. CONTRIBUTORS
  12. LICENSE
  13. PATENTS
  14. README.md
  15. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.