{"id":825,"date":"2019-12-10T19:33:05","date_gmt":"2019-12-10T19:33:05","guid":{"rendered":"https:\/\/golangbyexamples.com\/?p=825"},"modified":"2019-12-10T19:33:18","modified_gmt":"2019-12-10T19:33:18","slug":"empty-struct-in-go","status":"publish","type":"post","link":"https:\/\/golangbyexamples.com\/empty-struct-in-go\/","title":{"rendered":"Empty struct in GO"},"content":{"rendered":"\n

Empty struct struct{} <\/strong>in GO doesn’t occupy any memory. It is of zero byte. <\/p>\n\n\n\n

Below are some of the uses of empty struct<\/p>\n\n\n\n