---
title: "Discussion on \"You don't know Closure\" | Hashnode"
description: "Discussion on \"You don't know Closure\". 🔐 What is a Closure in Go?\nA closure is a function value that remembers the variables from the scope in which it was created.\n\n✅ In simple terms:A closure \"closes over\" its environment and keeps those variable values alive even after the outer funct..."
url: "https://hashnode.com/posts/go-closure/6865640c57406fe9bf6980b6"
---

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

Discussion

# [You don't know Closure](https://alhasib.hashnode.dev/go-closure?utm_source=hashnode&utm_medium=feed)

🔐 What is a Closure in Go? A closure is a function value that remembers the variables from the scope in which it was created. ✅ In simple terms:A closure "closes over" its environment and keeps those variable values alive even after the outer funct...

Jul 2, 2025 · 5 min read · alhasib.hashnode.dev  
Read the article

-   [#go-closure](https://hashnode.com/tag/go-closure)
-   [#go](https://hashnode.com/tag/go)
-   [#closure](https://hashnode.com/tag/closure)
-   [#closures](https://hashnode.com/tag/closures)
-   [#closure-with-example](https://hashnode.com/tag/closure-with-example)

## Written by

[AL Hasib](https://hashnode.com/@alhasib)

@alhasib

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

javascript

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
