---
title: "Discussion on \"Zero Types and Nil in Golang\" | Hashnode"
description: "Discussion on \"Zero Types and Nil in Golang\". Sometimes, there are no good cover images..."
url: "https://hashnode.com/posts/zero-types-and-nil-in-golang/648be56fe2423ece2c5104ff"
---

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

Discussion

# [Zero Types and Nil in Golang](https://dhawalpandya01.hashnode.dev/zero-types-and-nil-in-golang?utm_source=hashnode&utm_medium=feed)

Sometimes, there are no good cover images...

Jun 16, 2023 · 4 min read · dhawalpandya01.hashnode.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#go](https://hashnode.com/tag/go)
-   [#null](https://hashnode.com/tag/null)
-   [#zero-types](https://hashnode.com/tag/zero-types)
-   [#nil](https://hashnode.com/tag/nil)

## Written by

[Dhawal Pandya](https://hashnode.com/@dhawalpandya01)

@dhawalpandya01 · India

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

Writer | Coder

Engineering @ Bolt

## Responses 1

Markdown supported · ⌘↵ to post

[t0nghe](https://hashnode.com/@t0nghe)

[Apr 24, 2025](https://hashnode.com/posts/zero-types-and-nil-in-golang/648be56fe2423ece2c5104ff/comment/680ac30fc0bd2e23b72a83db)

This is a good cover image. Is the hole at the center of the donut a nil or a zero-value?

[Dhawal Pandya](https://hashnode.com/@dhawalpandya01)

[Jul 10, 2025](https://hashnode.com/posts/zero-types-and-nil-in-golang/648be56fe2423ece2c5104ff/comment/680ac30fc0bd2e23b72a83db#reply-686fdb53ab6a710a106711fc)

yes
