DEV Community

Cover image for Golang for Beginners
Sangam Biradar for collabnixcommunity

Posted on • Originally published at gopherlabs.kubedaily.com

Golang for Beginners

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

Oldest comments (3)

Collapse
 
salman_mesam_ali profile image
Salman Mesam

Good Day ! I want to generate activation codes using golang. Any suggestions / tips ?Perhaps any library available for this purpose? Did some searches but could not really find.

Thanks,

Collapse
 
vxxvvxxv profile image
Vladimir Sokolovskiy

Unfortunately, I have the error:

404
Page not found :(

The requested page could not be found.

Collapse
 
lico profile image
SeongKuk Han

It seems that the links don't work.