commit | 3f7ceb4e26566b85626ce17f5260528c6a994d26 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Mon May 04 17:51:34 2015 -0700 |
committer | Todd Wang <toddw@google.com> | Mon May 04 17:51:34 2015 -0700 |
tree | e4cc0b42ea8cdfdcb0379f0d0e001bd8a6b08d5d | |
parent | 98d5aff13c255ba6af0a25bfff848cb7e916de2c [diff] |
ref: Add -v23.metadata, which dumps metadata for the binary. The metadata package is a map from string ids to string values, and provides a mechanism to set the ldflags on the go toolchain to get metadata linked into your binary during build time. It also provides utilities to insert more metadata in package init functions, and to convert into XML and base64. Every binary built with the metadata package will now automatically get a flag -v23.metadata, which dumps the metadata for the program binary in XML. The format looks like this: <metadata> <md id="build.Manifest"><![CDATA[ <manifest label=""> <imports></imports> <projects> <project exclude="false" name="release.go.v23"... ... </projects> <tools></tools> </manifest> ]]></md> <md id="build.Platform">amd64unknown-linux-unknown</md> <md id="build.Pristine">false</md> <md id="build.Time">2015-05-04T08:40:22Z</md> <md id="build.User">Todd Wang</md> <md id="go.Arch">amd64</md> <md id="go.OS">linux</md> <md id="go.Version">go1.4.1</md> <md id="v23.RPCEndpointVersion">5</md> <md id="v23.RPCVersionMax">10</md> <md id="v23.RPCVersionMin">9</md> </metadata> This addresses one part of vanadium/issues#407 MultiPart: 3/3 Change-Id: I33b45fb9d3d79c4aaa92b1ab3af8d0c6a65d736c
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.