Skip to content

godror/knownpb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knownpb

Protocol Buffer (protobuf) known types ./timestamppb with JSON and XML marshaling

You have to replace the "github.com/golang/protobuf/ptypes/timestamp" or "google.golang.org/protobuf/types/known/timestamppb" import path to "github.com/godror/knownpb/timestamppb".

The types has the same wire format as the replaced, but have proper Marshal/Unmarshal methods for Text, JSON and XML.