[GODRIVER-1255] How to use interface type as a model in mongo-go-driver Created: 27/Aug/19 Updated: 11/Sep/19 Resolved: 29/Aug/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | x tutu | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
go version go1.12.4 windows/amd64 |
||
| Description |
|
why mongo-go-driver can't auto marshal a interface ? see detail here: https://stackoverflow.com/questions/57667653/how-to-use-interface-type-as-a-model-in-mongo-go-driver
|
| Comments |
| Comment by Esha Bhargava [ 29/Aug/19 ] |
|
xtutu0202@gmail.comian:palm_tree: 11:57 AM Thanks for your report. Please note that this project is for reporting bugs or feature suggestions for the driver. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. |