From 2cbe6e41eaf630d7f748e7528be3608b46fa4530 Mon Sep 17 00:00:00 2001 From: Essa Alshammri Date: Sun, 7 Apr 2024 01:15:44 +0300 Subject: [PATCH] delete more English original text --- content/docs/go-fundamentals/structs-methods-and-interfaces.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/docs/go-fundamentals/structs-methods-and-interfaces.md b/content/docs/go-fundamentals/structs-methods-and-interfaces.md index 4cefd5c..f9308ac 100644 --- a/content/docs/go-fundamentals/structs-methods-and-interfaces.md +++ b/content/docs/go-fundamentals/structs-methods-and-interfaces.md @@ -501,8 +501,6 @@ type Triangle struct { Triangle does not implement Shape (missing Area method) ``` -It's telling us we cannot use a `Triangle` as a shape because it does not have an `Area()` method, so add an empty implementation to get the test working - المترجم يخبرنا انه لا يمكن استخدام `Triangle` كشكل لانه لا يحتوي على دالة `Area()`، لذا قم بأضافة تابع فارغ لتجعل الاختبار يعمل ```go {filename="shapes.go"}