---
title: "Discussion on \"Switch and defer statements\" | Hashnode"
description: "Discussion on \"Switch and defer statements\". This blog explains the basics of switch and defer statements in Golang."
url: "https://hashnode.com/posts/switch-and-defer-statements/66c838e9c81b12cceb31dd2d"
---

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

Discussion

# [Switch and defer statements](https://operationsguy.hashnode.dev/switch-and-defer-statements?utm_source=hashnode&utm_medium=feed)

This blog explains the basics of switch and defer statements in Golang.

Aug 23, 2024 · 3 min read · operationsguy.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#golang](https://hashnode.com/tag/golang)
-   [#switch-case](https://hashnode.com/tag/switch-case)
-   [#defer](https://hashnode.com/tag/defer)
-   [#learning](https://hashnode.com/tag/learning)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)

## Written by

[Sahil Rathod](https://hashnode.com/@Sahil17)

@Sahil17 · Remote

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

Engineer

Hello there! I'm a passionate engineer from India. I'm here to share my knowledge and to expand my work domain.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
