Understanding Go's Optional and Default Parameters
There is no direct support for optional/default function parameters in Go. But there are ways we can do it. Let's look over how.
Checking default value
We can create a function to pass the empty value and check inside the function, let's look at the ...
blog.samitghimire.com.np4 min read