| ⭐ Coding Helpers & Guidelines in GoLang |
Coding Helpers and guidelines for coding in GoLang. |
| ⭐ Concurrency in GoLang |
Go provides very good support for concurrency using Go Routines or channels |
| ⭐ Types in GoLang |
Type parameters permit what is known as generic programming, in which functions and data structures are defined in terms of types that are specified later, when those functions and data structures are used. |
| ⭐ Pointers in GoLang |
GoLang supports pointers using * operator |
| Slices in GoLang |
Slice in Go is a lightweight data structure of variable length sequence for storing homogeneous data. |
| OOPs in GoLang |
Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. |
| Panic & Recover in GoLang |
Panic & Recover is like exception in GoLang. |
| Unit Testing in GoLang |
GoLang supports unit testing using Testing package |
| DB Transaction in GoLang |
Using Begin & Commit code block, atomicity can be implemented in GoLang. |
| Packages |
In go, code is organized using packages. |
| Modules |
Modules represent an app/service in Go. |
| Comments & Documentation in Go |
|
| Labels in GoLang |
Label is used in break and continue statement where it’s optional but it’s required in goto statement. |
| How to Work With SQL in GoLang? |
database/sql package helps to query SQL databases. |