---
title: "Discussion on \"Interfaces & Methods - Composition in Go\" | Hashnode"
description: "Discussion on \"Interfaces & Methods - Composition in Go\". In Go, Interfaces are named collections of method signatures. Similar to Java, you just declare methods Since there is no class in Go, we need to use \"structs\" Go does not support inheritance in its type system, but it supports composition of types\n\n..."
url: "https://hashnode.com/posts/interfaces-methods-composition-in-go/636d1e8fe2e764c17fa4ea3e"
---

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

Discussion

# [Interfaces & Methods - Composition in Go](https://block360.hashnode.dev/interfaces-methods-composition-in-go?utm_source=hashnode&utm_medium=feed)

In Go, Interfaces are named collections of method signatures. Similar to Java, you just declare methods Since there is no class in Go, we need to use "structs" Go does not support inheritance in its type system, but it supports composition of types ...

Nov 10, 2022 · 3 min read · block360.hashnode.dev  
Updated Apr 1, 2023  
Read the article

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

## Written by

[Ashok Vanga](https://hashnode.com/@askrv)

@askrv · India

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

Senior software Engineer

Golang Developer and Blockchain certified professional

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
