Sign in
go
/
website
/
dbe961f9e2b8ab7ba193efab64f4f23dfea0ce1a
/
.
/
_content
/
talks
/
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
}