Sign in
go
/
talks
/
97e7c3166099923c2192bcceb8cc9a27184021f2
/
.
/
2014
/
readability
/
in-band-error-client.go
blob: 2c120285604374605c66e1d214bbea8a41ae7808 [
file
] [
log
] [
blame
]
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
}