I want to have a struct like this:
type Person struct {
Name string
DateJoined time
}
But this struct will not compile, because there is no type time
, isn't it?
Should I alternatively use a string
and insert the time / date information there?