heetch / heetch/avro

Support Interfaces for schemaForGoType

Open
#97 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
95
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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",
}
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.