You might want to try eTime.Sub(sTime) which returns a time.Duration which can
print itself.
Which operating system are you using? Which version of Go are you using? Are
you running in a virtual machine?
--
You received this message because you are subscribed to the Google Groups
"golang-nut
..
sTime := time.Now().Nanosecond()
defer func() {
eTime := time.Now().Nanosecond()
debug("Success for ", qname, "for", (eTime-sTime)/100)
}()
..
i got negative value for (eTime - sTime) when defer function calls
is there any thing