My First Steps with Variables and Data Types in Go
📰 Medium · Programming
Learn the basics of variables and data types in Go and how to work with different data types in the language
Action Steps
- Declare variables using the var keyword in Go
- Assign values to variables using the assignment operator
- Explore different data types in Go, such as integers, floats, and strings
- Use the fmt.Println function to print variable values
- Practice working with variables and data types in Go using online platforms or a local development environment
Who Needs to Know This
This tutorial is beneficial for software engineers, particularly those new to the Go programming language, as it covers fundamental concepts that are essential for building applications in Go. The team can use this knowledge to develop scalable and efficient software systems.
Key Insight
💡 Understanding variables and data types is crucial for any programming language, and Go is no exception. Mastering these concepts will help you build a strong foundation in Go programming.
Share This
🚀 Learn Go basics: variables & data types! 🚀
Key Takeaways
Learn the basics of variables and data types in Go and how to work with different data types in the language
Full Article
Title: My First Steps with Variables and Data Types in Go
URL Source: https://medium.com/@farhadhossen2590/my-first-steps-with-variables-and-data-types-in-go-f2721a59455e?source=rss------programming-5
Published Time: 2026-06-19T14:05:57Z
Markdown Content:
# My First Steps with Variables and Data Types in Go | by Farhadhossen | Jun, 2026 | Medium
[Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
Get app
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

# My First Steps with Variables and Data Types in Go
[](https://medium.com/@farhadhossen2590?source=post_page---byline--f2721a59455e---------------------------------------)
[Farhadhossen](https://medium.com/@farhadhossen2590?source=post_page---byline--f2721a59455e---------------------------------------)
Follow
2 min read
·
Just now
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&user=Farhadhossen&userId=652f43ff1dee&source=---header_actions--f2721a59455e---------------------clap_footer------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&user=Farhadhossen&userId=652f43ff1dee&source=---header_actions--f2721a59455e---------------------repost_header------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=---header_actions--f2721a59455e---------------------bookmark_footer------------------)
[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Df2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=---header_actions--f2721a59455e---------------------post_audio_button------------------)
Share
I’ve recently started learning Go, and one thing I really like so far is how simple and readable the language feels.
Today, I spent some time exploring one of the most fundamental concepts in programming: variables and data types.
Instead of jumping straight into complex topics, I wanted to understand how Go handles different kinds of data and how values are stored and displayed.
## Working with Different Data Types
The first thing I
URL Source: https://medium.com/@farhadhossen2590/my-first-steps-with-variables-and-data-types-in-go-f2721a59455e?source=rss------programming-5
Published Time: 2026-06-19T14:05:57Z
Markdown Content:
# My First Steps with Variables and Data Types in Go | by Farhadhossen | Jun, 2026 | Medium
[Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
Get app
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

# My First Steps with Variables and Data Types in Go
[](https://medium.com/@farhadhossen2590?source=post_page---byline--f2721a59455e---------------------------------------)
[Farhadhossen](https://medium.com/@farhadhossen2590?source=post_page---byline--f2721a59455e---------------------------------------)
Follow
2 min read
·
Just now
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&user=Farhadhossen&userId=652f43ff1dee&source=---header_actions--f2721a59455e---------------------clap_footer------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&user=Farhadhossen&userId=652f43ff1dee&source=---header_actions--f2721a59455e---------------------repost_header------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Ff2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=---header_actions--f2721a59455e---------------------bookmark_footer------------------)
[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Df2721a59455e&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40farhadhossen2590%2Fmy-first-steps-with-variables-and-data-types-in-go-f2721a59455e&source=---header_actions--f2721a59455e---------------------post_audio_button------------------)
Share
I’ve recently started learning Go, and one thing I really like so far is how simple and readable the language feels.
Today, I spent some time exploring one of the most fundamental concepts in programming: variables and data types.
Instead of jumping straight into complex topics, I wanted to understand how Go handles different kinds of data and how values are stored and displayed.
## Working with Different Data Types
The first thing I
DeepCamp AI