Skip to content

Commit a237c97

Browse files
committed
added go interface example
1 parent 33a987a commit a237c97

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

data/golang.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,14 @@
306306

307307
]
308308
},
309+
{
310+
"title": "ইন্টারফেস উদাহরণ",
311+
"items":[
312+
{
313+
"code": "type Shape interface {\n Area() float64\n Perimeter() float64\n}"
314+
}
315+
]
316+
},
309317
{
310318
"title": "সুইচ স্ট্যাট্ম্যান্ট",
311319
"items": [{

0 commit comments

Comments
 (0)