Sign in
go
/
talks
/
a07c284bcf333dc17a1489fd441e8fccf1e01c2a
/
.
/
content
/
2014
/
readability
/
in-band-error-client.go
blob: 0ae459084ac6b6479cbcb17a62088d02ea046f3c [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package client
// OMIT
func proc(it Iterator) (ret time.Duration) {
d := it.DurationAt()
if d == duration.Unterminated {
// HL
ret = -1
} else {
ret = d
}
// some code
}