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