Hacker GitHub

← All repos

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

Mentions per year 27 mentions · busiest year 2020 (11)
20082026
  1. …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…
  2. …[1]: https://doc.rust-lang.org/std/ [2]: https://github.com/hyperium/hyper/ [3]: https://github.com/golang/protobuf
  3. …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.…
  4. …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)
  5. …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
  6. …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.…
  7. 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…
  8. …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
  9. 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
  10. …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
  11. …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
  12. …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
  13. > 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
  14. …`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
  15. …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
  16. > 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
  17. …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
  18. https://godoc.org/github.com/golang/protobuf/jsonpb
    comment by mleonard · 2019-04-20 · in JSON to Protobuf?
  19. …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.
  20. …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?
  21. …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...
  22. …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
  23. 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
  24. ▲ 3
    Google Engineer Refuses to Fix Golang Protobufs
    story by lazysymonds · 2017-06-25 · 0 comments
  25. …Maybe I'm missing something, but? https://golang.org/src/encoding/xml/example_test.go https://github.com/golang/protobuf uses this as well.
  26. …-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
  27. …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