avro icon indicating copy to clipboard operation
avro copied to clipboard

Support Interfaces for schemaForGoType

Open AtakanColak opened this issue 3 years ago • 0 comments

Hiya, I came across "interface types (interface {}) not yet supported (use avrogo instead)" error whilst trying out this library. Error comes from gotype.go#273. Maybe interface{} types could be matched with type casting? I want to be able to get schemas for maps like below;

myMap := map[string]interface{}{ "time": time.Now(), "value1": 1, "tag1": "test1", }

AtakanColak avatar Oct 08 '20 08:10 AtakanColak