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