Is it possible to work similar way like the function overloading or optional parameter in C# using Golang? Or maybe an alternative way?
The idiomatic answer to optional parameters in Go is wrapper functions:
func do(a, b, c int) { // ... } func doSimply(a, b) { do(a, b, 42) }
Function overloading was intentionally left out, because it makes code hard(er) to read.