I write one go code like this, strconv.Itoa(time.Nanoseconds()). But, it is giving me this error “cannot use time.Nanoseconds() (type int64) as type int in function argument”. How can I solve this ?
I write one go code like this, strconv.Itoa(time.Nanoseconds()) . But, it is giving me
Share
For example,
Output: