Skip to content

voratham/basic-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-golang

basic golang by learn myself by commit

 1 Init project setting
 2 example declare variable
 3 const and iota declare
 4 How to use if-else statement
 5 How to use for-loop ,while-loop
 6 How to use switch-case
 7 How to use function and return
 8 How to use decalre pointer
 9 Create function pass by value
 10 Slicec basic 1
 11 Slice basic 2  merge slice
 12 How to use make function for create slice
 13 How to use  map function and decalre map with make
 14 For-range with slice , array , map[key]value
 15 String and byte[]
 16 Exmaple use rune and loop string utf8
 17 strings library of golang utils
 18 strings to number parseing
 19 create struct and nested struct
 20 Type embededding
 21 Methods receiver of value and pointer
 22 Interface basic
 23 Method sets interface
 24 Method sets interface
 25 Type assertions and Type Switch
 26 Empty interface
 27 Init go.mod , seperate shape module
 28 Handler error on go
 29 Panic & Recover pattern
 30 Gorouting and channel exmaple
go mode init "name_module"
go run main.go
git log // for check lesson for commit number

About

basic golang by learn myself by commit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages