Golang time function.