LEARN GOLANG QUICKLY: CODING FOR BEGINNERS - GOLANG PROGRAMMING LANGUAGE, A QuickStart eBook, Tutorial Book with Hands-On Projects, In Easy Steps! An Ultimate Beginner's Guide!
This book specifically written for beginners. This book serves as a teaching guide and also a reference manual to accompany you through this wonderful world of programming. We take you step-by-step through writing your very first program, explaining each portion of code as we go along. The book includes practical examples for beginners.
TABLE OF CONTENTS Introduction Go Language Hello World Application Go Build executable Primitive Data Types Go Print value and type of a variable Go Initialize multiple variables in one line Go Constants Go iota identifier Go Type Conversion Go Type Inference Go strings Go concatenate strings Go multi line strings Go Arrays Go Arrays are passed by value Go Slices Go Slices are passed by reference Go Iterate over a slice using range keyword Go Get slice from a slice Go Append an element to a slice Go Map data structure Go Define map using literal notation Go len : Get number of items in a map Go Check whether an item exists in map or not Go Delete item from the map Go Print all the keys of map Go Print key, value from map Go if statement Go if-else statement Go if combine initialisation and condition evaluation in same line Go switch statement Go switch without an expression Go for loop Go Use for loop as while loop Go Print elements of array Go Iterate over a map Go Read data from console or user Go Create a function Go Pass by Reference Go Variadic Functions Go Return a value from function Go Anonymous functions Go Functions continued Go return Error from a function Go Structs Go Construct an object to a structure using & Go language : struct literal notation Go constructor functions Go Adding Methods to a struct Go Interfaces Go Importing multiple packages Go defer the function execution Go Pointers Go Structure pointers Go Read content type from a url Go Exit the program with given status code Go Goroutines Go Convert string to byte array Go Generate random uuid or string Go Write a program to print lowercase alphabets Go Sleep goroutine for some time Go Repeat a string n times Go Concatenate strings Go Multi line strings Go Convert byte array to string For-each loop in Go language Go Convert integer to string Go Find type of object Go Read input from console Go Print structure with field names