Skip to content

Commit 33a987a

Browse files
committed
added golang Anonymous structs
1 parent 92f77ef commit 33a987a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

data/golang.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,12 @@
298298
},
299299
{
300300
"code": "fmt.Println(aDoctor)"
301+
},
302+
{
303+
"definition": "বেনামী স্ট্রাক্ট(Anonymous structs)",
304+
"code":"point := struct {\n\tX, Y int\n}{1, 2}"
301305
}
306+
302307
]
303308
},
304309
{

0 commit comments

Comments
 (0)