---
title: "Discussion on \"Method Receivers - Pointer vs Value\" | Hashnode"
description: "Discussion on \"Method Receivers - Pointer vs Value\". Pointer receivers Vs Value receivers\n//pointer receiver\nfunc (t *Type) Method() {}\n\n//value receiver\nfunc (t Type) Method() {}\n\n**When should you use pointer receivers ? **\nModify the receiver If you want to change the state of the receiver in a meth..."
url: "https://hashnode.com/posts/method-receivers-pointer-vs-value/63551dbc2bae91d5a6542c5d"
---

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

Discussion

# [Method Receivers - Pointer vs Value](https://block360.hashnode.dev/method-receivers-pointer-vs-value?utm_source=hashnode&utm_medium=feed)

Pointer receivers Vs Value receivers //pointer receiver func (t \*Type) Method() {} //value receiver func (t Type) Method() {} \*\*When should you use pointer receivers ? \*\* Modify the receiver If you want to change the state of the receiver in a meth...

Oct 23, 2022 · 1 min read · block360.hashnode.dev  
Updated Apr 1, 2023  
Read the article

-   [#pointers-in-go](https://hashnode.com/tag/pointers-in-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.
