I am trying to hash the timestamp in my program:
h := md5.New()
t := time.Now()
Here’s what I get:
cannot use t (type time.Time) as type string in argument to io.WriteString
…and I cannot convert it to type String, or at least with what I have tried so far. Any ideas?