---
title: "Discussion on \"Defer Keyword in Go\" | Hashnode"
description: "Discussion on \"Defer Keyword in Go\". Learn about Defer keyword in Go"
url: "https://hashnode.com/posts/defer-keyword-in-go/662119dbec36a64a2a744300"
---

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

Discussion

# [Defer Keyword in Go](https://adityakumarsingh.hashnode.dev/defer-keyword-in-go?utm_source=hashnode&utm_medium=feed)

Learn about Defer keyword in Go

Apr 18, 2024 · 2 min read · adityakumarsingh.hashnode.dev  
Updated Apr 24, 2024  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#functions](https://hashnode.com/tag/functions)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#golang](https://hashnode.com/tag/golang)

## Written by

[Aditya Singh](https://hashnode.com/@AdityaKSingh)

@AdityaKSingh · India

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

building with Go | worked at 2 early age startups

Let's see how this goes.......

## Responses 3

Markdown supported · ⌘↵ to post

[Harshit Aditya](https://hashnode.com/@Harshit27)

[Apr 18, 2024](https://hashnode.com/posts/defer-keyword-in-go/662119dbec36a64a2a744300/comment/6621284b0446fa3a07a4cfd1)

Amazing blog. Well done 💯

[Abhrajit Ray](https://hashnode.com/@aroy77)

[Apr 18, 2024](https://hashnode.com/posts/defer-keyword-in-go/662119dbec36a64a2a744300/comment/66211e5e99b5200ab4ac540a)

Nice one. Did not know about this.
