Posted in

Go语言判断语句错误处理范式(error判断的5层防御体系:os.IsNotExist→errors.Is→errors.As→自定义type switch→panic兜底)

第一章:Go语言判断语句的核心范 … Go语言判断语句错误处理范式(error判断的5层防御体系:os.IsNotExist→errors.Is→errors.As→自定义type switch→panic兜底)Read more