Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thatbackendguy/go-lang-practise


https://github.com/thatbackendguy/go-lang-practise

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# Go Lang Practise

## Basics of Go
1. Variables and different types of declaration
2. Multiple Declarations
3. Zero values - default values of different types
4. Constants (const)
* typed
* untyped
5. IOTA
6. Data types in Go
* predefined data types: int, uint, float, rune, byte, boolean, string
* composite: array, slice, map, and struct

## Operators
1. Arithmetic
2. Logical
3. Assignment
4. Comparison

## Program Flow
1. If, else If, else..
2. for, use for loop as while
3. goto, break, continue, labels
4. switch cases

## Arrays
* declarations, operations, keyed elements

## Slices
* declarations, basic operations, backing array, comparing slices, append(), copy()