I make a function that return error, even that function not error. How i make return nil if my function not error
func Serve() error {
error = nil
return error
}
something like that
I make a function that return error, even that function not error. How i make return nil if my function not error
func Serve() error {
error = nil
return error
}
something like that