Posted on 10th September 2024|16 views
Explain about init function in Go
Posted on 10th September 2024| views
Init function is similar to the main function. It is called when we have to initialize a package.
Example:
func init()
{
Statements
}