DEV Community

loading...
Cover image for Golang for Beginners
collabnixcommunity

Golang for Beginners

Sangam Biradar
Docker Community Leader
Originally published at gopherlabs.kubedaily.com ・2 min read

join Gopherlabs Community

-- TABLE OF CONTENTS --
Lets Start With First Hello world Program
Numeral Systems - Decimal
Numeral systems - binary
Numeral systems - hexadecimal
Numeral Systems Loop
Numeral Systems - UTF-8
Short variable declarations
variable with zero value
deep drive on variables
deep drive on Constants
Loop - Init, Condition, Post
Loop - Nested Loops
Loop - For Statement
Loop - Break & Continue
Generate Random number with math/crypto/rand in Go
Loop - Printing ASCII
Conditional - If Statement
Conditional - If, Else if, Else
Loop, Conditional, Modulus
Conditional - Switch Statement
Conditional - Switch Statement Documentation
Conditional Logic Operators
String Type
Bool Type
Structs
struct literal
Struct fields can be accessed through a struct pointer.
Conversion, Not Casting
Creating Your Own Type
Defer
Stacking defers
Pointers
Prefix Suffix
Conversion between array and slice
Methods
variadic function
init Function
Command Line Arguments and File I/O
interface

Support this repo by gitstart
ReadMe Card

Discussion (0)