我创建了一个返回错误的函数,即使该函数没有错误.如果我的函数没有错误,我如何返回nil
func Serve() error { error = nil return error }
类似的东西
go
go ×1