How to create a package in golang.
In golang we use a package using the import keyword.
For a single package:
import "fmt"
For multiple packages, we use the multi line syntax:
import (
"fmt"
"math"
"log"
)
Similar to initializing multiple variables:
var (
a int
b...
blog.fuadolatunji.me2 min read
Santosh Das
Calm and Coder, Fullstack App and Web Developer
really liked and helpful tut