DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Golang Conversions - Ints To Strings And Strong Typing

3 years ago blog.boot.dev
Golang Conversions - Ints To Strings And Strong Typing

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Go is a strongly typed language, which means at any point a developer should know exactly what type of value they are dealing with. For example, if we have a function that prints a string, we can’t just give it an integer and expect it to work. We have to cast it to a string explicitly:

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com