commit | 982684b22ea4097699fab128bf1e259c277746b6 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Fri Sep 28 14:12:41 2018 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Sep 28 21:20:49 2018 +0000 |
tree | 268e4f424e053f3c8fe168cd70d6781ad0940a2e | |
parent | 1fa8ab0ed5293e1d77b8145272f4b80911a18c87 [diff] |
cmd/protoc-gen-go: format default float values as float32 Printing default float values as float64 results in e.g., "3.14" becoming "3.140000104904175". Change-Id: I5b21a1f94084b6d9c7b015b34d911972c4a2a1b2 Reviewed-on: https://go-review.googlesource.com/138516 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a APIv2:
prefix in the title to make it clear that the issue is regarding the new API work.