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

https://github.com/sachinnagesh/golang-practice

Contains basic practice examples for Golang
https://github.com/sachinnagesh/golang-practice

golang golang-examples learning-by-doing learning-exercise practice-programming practice-project

Last synced: about 1 month ago
JSON representation

Contains basic practice examples for Golang

Awesome Lists containing this project

README

          

# golang-practice
Contains basic practice examples for Golang
- helloworld
- `fmt.Printf` example
- variables
- type inference
- reassign variables
- scope of variables
- type conversion
- channel
- go routines
- go context with value
- go context with cancel
- go context with deadline
- go context with timeout

Also added `gobyexample` code here
- values
- variables
- constant
- `for` loop
- `if/else`
- switch