media-sharing: Remove variable name conflicts from VDL generated Go code

The previous VDL generated Go code contained common variable
names, such as ctx, opts and err.  This meant that users couldn't
pick these names for their variables.  This CL fixes those cases.

Note that we already generate different code for exported
interfaces vs. unexported implementations.  The interfaces use
user-provided variable names, which is better for documentation,
while the implementations already avoid conflicts by using
generated variables names i0, i1, ... for input args, and
similarly o0, o1, ... for output args.

This CL ensures the generated interfaces use _ for non-user
provided variables, to avoid any possible naming conflict.

Fixes v.io/i/912

MultiPart: 6/7

Change-Id: I835bf9069c3076540c1d67c50088c6833ba33f76
1 file changed
tree: 0bed04961c9d675dd974fe15d11b37e0de99e410
  1. android/
  2. go/
  3. js/
  4. scripts/
  5. .gitignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. CONTRIBUTORS
  9. LICENSE
  10. PATENTS
  11. README.md
  12. VERSION
README.md

Media sharing

This is an example application built on the Vanadium stack.

See design doc here: https://docs.google.com/document/d/1TT7eiSPJpGiAS__NNf51RZEAEio2myKUmH0jM3k_OxI

Development

Deployment