Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有原始的json:
{ "@timestamp":"2019-05-05T19:54:00.455+08:00" }
我已经定义了结构:
type A struct { Timestamp string bson:"@timestamp" }
如何实现它bson.UnmarshalExtJSON?
bson.UnmarshalExtJSON