golang-cheat-sheet icon indicating copy to clipboard operation
golang-cheat-sheet copied to clipboard

Example of Anonymous structs "Cheaper and safer than using map[string]interface{}"

Open vic4hub opened this issue 8 years ago • 0 comments

Hello,

Please explain how one can replace map[string]interface{} functionality with an anonymous struct

vic4hub avatar Oct 27 '17 16:10 vic4hub