Ompluscator / dynamic-struct

Golang package for editing struct's fields during runtime and mapping structs to other structs.
MIT License
683 stars 81 forks source link

Error: unreadable: could not resolve interface type #27

Closed ivanNieto13 closed 1 year ago

ivanNieto13 commented 1 year ago

Hi, I'm getting this error with example's code on README.

instance := dynamicstruct.NewStruct(). AddField("Integer", 0, json:"int"). AddField("Text", "", json:"someText"). AddField("Float", 0.0, json:"double"). AddField("Boolean", false, ""). AddField("Slice", []int{}, ""). AddField("Anonymous", "", json:"-"). Build(). New()

Screenshot 2023-01-25 at 13 22 44
kshishkin82 commented 1 year ago

It is problem of gold and IDE. I have it is problem too but it is not affect to work app

Ompluscator commented 1 year ago

As it is related to IDE presentation of instance, it's not considered as issue.