Data Types in Go

Photo by Isaac Smith on Unsplash

Go datatypes can be categorised into, primitive and composite data types, Primitive and Composite Data Types.

This article is part of the Learning Go series

Primitive Data Types

These are the core data types, such as integers, strings,…etc. To learn more, see:

  • Integers in Go(article coming soon)
  • Strings in Go(article coming soon)
  • Boolean in Go (article coming soon)
  • Constants in Go (article coming soon)

Composite Data Types

Composite variables lets you store a collection of values inside a single variable. They use primitive variables as their building blocks. There are several kinds of composites data types:

  • Arrays (article coming soon)
  • Slices (article coming soon)
  • Structs in Go
  • Maps (article coming soon)

Related Articles

--

--

--

Blogger at codingbee.net

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Designing Reference or Static Data in Your Code

Coronavirus Hits Excessively Near and dear

Alexa Skill With Lambda

Single Pod Access Mode for Persistent Volumes on Kubernetes

When We Brought Linux to Windows

Getting Started with Simulink, Part 1: How to Build and Simulate a Simple Simulink Model

Creating Custom Manage.py Commands with Django

How GO-JEK Refactor My Life

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sher Chowdhury

Sher Chowdhury

Blogger at codingbee.net

More from Medium

Range Over Slice — Golang Snippet

GoLang discussion series —  The beginning

Unix domain sockets in golang

Proper HTTP shutdown in Go