Go Package, import and visibility Packages Packages are used to categorize our program so that it can be easy to maintain. Every…
Go Language Tutorial
-
-
Go Tickers Go Tickers are used when we want to some work at regular interval of time. Tickers can be stopped like…
-
GO Epoch In Go, We can produce the time in seconds, milliseconds, nanosecond . The time package has the required methods like…
-
Go Panic Go panic is a mechanism by which we handle error situations. Panic can be used to abort a function execution.…
-
Go Time Go has very good support for the time manipulations. Unix epoch time is used as reference for time manipulations. we…
-
Go Error Go does not have an exception mechanism like try/catch in Java, we cannot throw an exception in Go. Go uses…
-
Go Pointer A pointer is a variable that stores the address of another variable. The general form of a pointer variable declaration…
-
Go File I/O In go os.file objects are used for file manipulations. os.File objects are also called filehandles. open function which is…
-
Go Race A race condition occurs in Go when two or more goroutines try to access the same resource. It may happen…
-
Go Array In Go, an array is a homogeneous data structure (Fix type) and has a fixed-length. The type can be anything…