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
How to write backslash in Golang string?How to import structs from another package in Go?How to delete or remove element from a Map?How to read current directory using Readdir?How to create thumbnail of an image?Golang Slice interface and array concatenationRegular expression to extract date(YYYY-MM-DD) from stringRegular expression for matching HH:MM time format in GolangHow to collect information about garbage collection?How to wait for Goroutines to Finish Execution?
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.