Golang Tutorial
Introduction Variables Constants Data Type Convert Types Operators If..Else Switch..Case For Loops Functions Variadic Functions Deferred Functions Calls Panic and Recover Arrays Slices Maps Struct Interface Goroutines Channels Concurrency Problems Logs Files and Directories Reading and Writing Files Regular Expression Find DNS records Cryptography Gotchas in Golang Import and Export Best Golang Packages Web Application Goroutines and Channels Exercises Reflection in Golang Golang for beginners Strings in Golang HTTP Client Server Examples Context PackageGolang Reference
Basic Programs Advance Programs Data Structure and Algorithms Date and Time Slice Sort, Reverse, Search Functions String Functions Methods and Objects Interface TypeBeego Framework
Beego Setup Beego Database Migration Beego GET POST Beego RoutingType Conversion
Type Conversion
The process of converting a value from one data type to another is known as type conversion. Converting from one datatype to another is a frequent task we programmers do. Let's take few examples of converting variables from one data type to another.
Most Helpful This Week
Example to create custom errorRuntime package variablesGolang Get current Date and Time in EST, UTC and MST?How to Decode or Unmarshal bi-dimensional array of integers?Anonymous Functions in GolangHow to blur an image in Golang?How to create a photo gallery in Go?Golang import package inside packageReplace first occurrence of string using RegexpGolang HTTP GET request with parameters
Golang Programs is designed to help beginner programmers who want to learn web development technologies, or start a career in website development. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.