---
title: "Discussion on \"Go/Golang - Data Structures ( Arrays,Slices and Maps)\" | Hashnode"
description: "Discussion on \"Go/Golang - Data Structures ( Arrays,Slices and Maps)\". Arrays\nAn Array is a collection/sequence of values of a single type. Arrays in Go are similar to arrays in other languages.\nLet's see how to declare an array in Go, Below is an example:\nvar value1 [5]int\n\nvar value2 [3]string\nYou can also initialize ..."
url: "https://hashnode.com/posts/gogolang-data-structures-arraysslices-and-maps/6153dadf9c8bfd08f5ba8064"
---

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

Discussion

# [Go/Golang - Data Structures ( Arrays,Slices and Maps)](https://tarunjain.hashnode.dev/gogolang-data-structures-arraysslices-and-maps?utm_source=hashnode&utm_medium=feed)

Arrays An Array is a collection/sequence of values of a single type. Arrays in Go are similar to arrays in other languages. Let's see how to declare an array in Go, Below is an example: var value1 \[5\]int var value2 \[3\]string You can also initialize ...

Sep 29, 2021 · 3 min read · tarunjain.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Tarun Kumar J](https://hashnode.com/@tarunjain096)

@tarunjain096 · India

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

An Avid learner ⚡️.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
