---
title: "Discussion on \"Interfaces in Go\" | Hashnode"
description: "Discussion on \"Interfaces in Go\". According to https://go.dev/tour/methods/9, an interface is a collection of method signatures.\ntype Shape interface{\n    area() float64\n}\n\nAs you can see in the above code snippet, I define Shape which is an interface and simply put a method(you can ..."
url: "https://hashnode.com/posts/interfaces-in-go/64de16e7953b3278a025d210"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Interfaces in Go](https://averagedev717.hashnode.dev/interfaces-in-go?utm_source=hashnode&utm_medium=feed)

According to https://go.dev/tour/methods/9, an interface is a collection of method signatures. type Shape interface{ area() float64 } As you can see in the above code snippet, I define Shape which is an interface and simply put a method(you can ...

Aug 17, 2023 · 2 min read · averagedev717.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#interfaces-go](https://hashnode.com/tag/interfaces-go)
-   [#first-blog](https://hashnode.com/tag/first-blog)

## Written by

[averageDev](https://hashnode.com/@averagedev717)

@averagedev717

  
[View profile](https://hashnode.com/@averagedev717)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
