New: learngoAll contenthive-129948hive-196917krhive-185836hive-183959zzansteemphotographyhive-180932hive-150122hive-101145hive-183397hive-166405hive-144064uncommonlabhive-184714hive-188619bitcoinkrsuccesshive-193186hive-193637hive-103599hive-145157hive-179660hive-180301TrendingNewHotLikerstechnological (39)in programming • 7 years ago'If' Statement In 'Go'(Learn 'Go' - Part 12)The 'If' statement is used to check a certain condition within a function. We can create a simple program to see 'if' in action.   package main import "fmt" func main(){ x := 1technological (39)in programming • 7 years agoFor Loop In 'Go'(Learn 'Go' - Part 11)In Go, we use the 'For' statement to repeat a block of statements multiple times. Unlike other languages, Go has just one type of loop, i.e., 'for' and we can use it in a variety of ways.  For…technological (39)in programming • 7 years agoMultiple Variables In 'Go'(Learn 'Go' - Part10)You can define multiple variables in Go very quickly.   var ( a = 10 b = 20 c = 30 )    Previous Posts In The Series   Introduction To 'Go' Programming Language(Learn…technological (39)in programming • 7 years agoConstants In 'Go'(Learn 'Go' - Part 9)Just like variables, constants also have specific storage locations but their value remains fixed. We use 'const' keyword to create a constant. Constants are useful for the common values you would…technological (39)in programming • 7 years agoVariables In 'Go'(Learn 'Go' - Part 8)Variables allow you to build useful programs, you cannot do much with the basic types. They are specific storage locations with a name and a specific type.  For instance,  package main…technological (39)in programming • 7 years agoNumbers In 'Go'(Learn 'Go' - Part 7)In Go, there are several types to represent numbers. For Integers, we have int8 int16 int32 int64 uint8 uint16 uint32 uint64   'uint' means unsigned…technological (39)in programming • 7 years agoBooleans In 'Go'(Learn 'Go' - Part 6)Another type is 'Booleans'. Boolean values are used to represent true and false or on and off. There are three logical operators used to represent the Boolean values,   && for 'and' ||…technological (39)in programming • 7 years agoStrings In 'Go'(Learn 'Go' - Part 5)There are many data types that you will be using while programming in Go like Strings, Numbers, Booleans and more. Let's begin with the "Strings".   Strings is a sequence of characters that…technological (39)in programming • 7 years agoCreate Your First Program In Go Language (Learn 'Go' - Part 4)Now that you have set up the working environment on your system, let's create the first program in Go. Open up your workspace folder and create another folder within the 'src' folder. For…technological (39)in programming • 7 years agoHow To Set The Go Programming Environment On Your System?(Learn 'Go' - Part 3)The process to install 'Go' on your system is straightforward and easy. You will need the basic knowledge of the Terminal. Don't worry! The steps are easy to follow.   Steps To Install 'Go'…technological (39)in programming • 7 years ago25 Basic Keywords Of The Go Programming Language (Learn 'Go' - Part 2)The 'Go' programming language is considered simple to learn as compared to other programming languages like C++. C++ has more than 70 basic keywords, whereas 'Go' has 25 keywords. It has been…technological (39)in programming • 7 years agoIntroduction to 'Go' Programming Language - Part 1(Learn 'Go')If you want to know why you should learn the 'Go' programming language, you can read my post. Why Should You Learn The 'Go' Programming Language  The 'Go' programming language is designed…