Currently we have storj.io/picobuf/picoconv for Timestamp to convert between protobuf google timestamp to time.Time. However, there are other well known types https://developers.google.com/protocol-buffers/docs/reference/google.protobuf.
There are two large ideas:
- Create a cross-compatibility layer for protobuf packages. This would also help with migrating from std protobuf libraries to picobuf or making them work together. Of course, we cannot directly add a dependency for protobuf, otherwise we lose many of the benefits.
- The alternative is to create a well known type generator and have aliases for them. This helps to fully migrate without needing to rewrite different types.
Currently we have
storj.io/picobuf/picoconvfor Timestamp to convert between protobuf google timestamp to time.Time. However, there are other well known types https://developers.google.com/protocol-buffers/docs/reference/google.protobuf.There are two large ideas: