golang/protobuf
View on GitHub ↗ ★ 10,074 Go
Go support for Google's protocol buffers
27 mentions on Hacker News by 24 people: 1 story, 26 comments · first 2014-12-23 · latest 2025-01-23
20082026
-
…which is unergonomic. Given that they switched it to timestamppb.New, they must've agreed with me. https://github.com/golang/protobuf/blame/master/ptypes/times... <-- and you can still see the full code from this era on master because of…
comment by mjr00 · 2025-01-23 · in Understanding gRPC, OpenAPI and REST and when to use them in API design (2020) -
…[1]: https://doc.rust-lang.org/std/ [2]: https://github.com/hyperium/hyper/ [3]: https://github.com/golang/protobuf
comment by ar_lan · 2023-07-21 · in How Turborepo is porting from Go to Rust -
…1 or 2 with major version bumps, which were minor incompatibilities. Even the usage of the now-deprecated github.com/golang/protobuf wasn't a big deal, and updating to use the new conventions was boring and unexciting, but fairly painless.…
comment by Beltalowda · 2022-10-21 · in The front end community wants to wash its hands of the decade we lost -
…avoiding as much work as possible. The worst kind of BOFH developer I've encountered. https://github.com/golang/protobuf/issues/156 It's just a sad aussie knoll troll situation.
comment by metadat · 2022-02-14 · in The Go language's first commit (1972) -
…to do what they want (thus failing some of the goals expressed in golang/protobuf#364? [1]: https://github.com/golang/protobuf/issues/364 [2]: https://pkg.go.dev/google.golang.org/protobuf@v1.26.0/reflec...
comment by gilgad13 · 2021-06-03 · in A new ProtoBuf generator for Go -
…versioning for the Go protobuf module. (Sorry!) The original Go protobuf implementation is in the module "github.com/golang/protobuf". A couple years back, we decided that it was time to do a major overhaul of the protobuf implementation.…
comment by neild · 2020-09-16 · in Go’s Major Versioning Sucks – From a Fanboy -
I was referring to this: https://blog.golang.org/protobuf-apiv2 > The github.com/golang/protobuf module is APIv1. > The google.golang.org/protobuf module is APIv2. We have taken advantage of the need to change the import path to switch to…
comment by tsimionescu · 2020-09-12 · in The lack of namespaces on crates.io is a feature -
…this, you know I've omitted one detail - they actually changed the name of the module as well, from `github.com/golang/protobuf` to `google.golang.org/protobuf`. Because, of course, Golang modules names are actually URLs, not identifiers…
comment by simiones · 2020-09-10 · in Go modules have a v2+ problem -
Because the Go package name is github.com/golang/protobuf. Serving it from a different address is already a breaking change.
comment by tsimionescu · 2020-03-03 · in A new Go API for Protocol Buffers -
…at proto api addresses these warts. I'm generally a golang fan - but not in this area. Citations: https://github.com/golang/protobuf/issues/29
comment by bhawks · 2020-03-03 · in A new Go API for Protocol Buffers -
…it wherever we want. I agree, this is confusing. Why doesn't google.golang.org/protobuf@v1 return what's at github.com/golang/protobuf, then, if only to provide a tidy answer for those who wonder what v1 looked like?
comment by randallsquared · 2020-03-03 · in A new Go API for Protocol Buffers -
…marshals the protobuf type of int64 into a string when marshaling from a protobuf struct into JSON. https://github.com/golang/protobuf/pull/916 I believe that the package they mention there is meant to be a more "canonical" protobuf <->…
comment by lelandbatey · 2020-03-03 · in A new Go API for Protocol Buffers -
> The github.com/golang/protobuf module is APIv1. > The google.golang.org/protobuf module is APIv2. > We have taken advantage of the need to change the import path to switch to one that is not tied to a specific hosting provider. > (Why…
comment by guessmyname · 2020-03-03 · in A new Go API for Protocol Buffers -
…`google.golang.org/protobuf@v1` retroactively? Also: > In ten years, hopefully nobody cares about the old github.com/golang/protobuf and the confusion is gone. is the corollary that this change will cause 10 years of confusion?
comment by SoylentOrange · 2020-03-02 · in A new Go API for Protocol Buffers -
…doesn't exist, but v2 does. - In ten years, hopefully nobody cares about the old github.com/golang/protobuf and the confusion is gone. We could tag the new API v1: - Less visually distinct in the import path. + Seems to make sense
comment by neild · 2020-03-02 · in A new Go API for Protocol Buffers -
> The github.com/golang/protobuf module is APIv1. > The google.golang.org/protobuf module is APIv2. We have taken advantage of the need to change the import path to switch to one that is not tied to a specific hosting provider. That's such…
comment by dgellow · 2020-03-02 · in A new Go API for Protocol Buffers -
…in the documentation for generating Go [1] they have you download and install protoc-gen-go from http://github.com/golang/protobuf assuming that you already have golang installed. gRPC seems much more focused on the idea that I want to…
comment by gravypod · 2019-05-27 · in Why We’re Switching to gRPC -
https://godoc.org/github.com/golang/protobuf/jsonpb
comment by mleonard · 2019-04-20 · in JSON to Protobuf? -
…directory). Unfortunately go-protobuf doesn't support dynamic protobuf schemas yet ( https://github.com/golang/protobuf/issues/199 ). Until it does, every message type must be linked directly into the binary.
comment by jmillikin · 2018-12-03 · in Stripe open-sources Skycfg, a configuration builder for Kubernetes -
…prefixed with "v", e.g. v1.0.3. https://github.com/gogo/protobuf https://github.com/olivere/elastic https://github.com/golang/protobuf https://github.com/sanity-io/litter
comment by lobster_johnson · 2018-05-30 · in The vgo proposal is accepted. Now what? -
…to write the code to figure it out and do the right thing. My annoyance is with code gens that do https://github.com/golang/protobuf/blob/master/protoc-gen-go... . Not even goimports will strip those...
comment by Vendan · 2018-05-20 · in Show HN: Gojay – Performant JSON encoder/decoder for Golang -
…it, and I don't think there are any interfaces that are leveraged by the language. [1] https://godoc.org/github.com/golang/protobuf/proto#Message [2] https://doc.rust-lang.org/std/collections/struct.HashMap.htm...
comment by lobster_johnson · 2018-01-30 · in Upcoming Go protobuf release -
The protobuf package does provide an Equal function: https://github.com/golang/protobuf/blob/master/proto/equal.g...
comment by skybrian · 2018-01-30 · in Upcoming Go protobuf release -
▲ 3
Google Engineer Refuses to Fix Golang Protobufsstory by lazysymonds · 2017-06-25 · 0 comments
-
…Maybe I'm missing something, but? https://golang.org/src/encoding/xml/example_test.go https://github.com/golang/protobuf uses this as well.
comment by lenish · 2016-02-27 · in Oden: experimental, statically-typed functional language, built for Go ecosystem -
…-u golang.org/x/crypto/ssh go get -u github.com/dlintw/goconf go get -u github.com/golang/glog go get -u github.com/golang/protobuf/{proto,protoc-gen-go} go get -u github.com/miekg/dns
comment by krat0sprakhar · 2016-01-31 · in Google Open Source Load Balancer in Go -
…team did this. They already have a Go code generator for Google protocol buffer marshaling code. ( https://github.com/golang/protobuf ) This new generator scheme doesn't seem to be suitable for integration with that. (Why does every…
comment by Animats · 2014-12-23 · in Generating code