摘要:
借助模块:io/bufio os 源码剖析 // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can 阅读全文
摘要:
error接口 error 普通错误 Go语言引入了一个关于错误处理的标准模式,即error接口,它是Go语言内建的接口类型,该接口的定义如下: Go语言的标准库代码包errors为用户提供如下方法 // Copyright 2011 The Go Authors. All rights reser 阅读全文