From 0148a425c7afc101495c4426eff39fbcaaad48dd Mon Sep 17 00:00:00 2001 From: Giorgos Dimitriadis Date: Wed, 5 Oct 2022 02:55:27 +0300 Subject: [PATCH] Add content for Go interfaces (#1939) * content for Go maps * content for Golang's make function * content for Golang structs * Update content/roadmaps/109-golang/content/100-go-basics/116-structs.md * content for Go interfaces * Update content/roadmaps/109-golang/content/101-go-advanced/103-interfaces.md Co-authored-by: Kamran Ahmed --- .../content/101-go-advanced/103-interfaces.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/109-golang/content/101-go-advanced/103-interfaces.md b/content/roadmaps/109-golang/content/101-go-advanced/103-interfaces.md index ae1d147ef..c798778b6 100644 --- a/content/roadmaps/109-golang/content/101-go-advanced/103-interfaces.md +++ b/content/roadmaps/109-golang/content/101-go-advanced/103-interfaces.md @@ -1 +1,10 @@ -# Interfaces \ No newline at end of file +# Interfaces + +An interface in Go, is a type that defines a set of methods. If we have a type (e.g. struct) that implements that set of methods, then we have a type that implements this interface. + +Free Content + +Go Interfaces +Go by Example: Interfaces +Golang Tutorial #22 - Interfaces (by Tech With Tim on YouTube) +Learn Go Interfaces \ No newline at end of file