Sign in
go
/
website
/
cef597aeee3a0f904fdaf45b3475b943ff8f3788
/
.
/
_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
}