示例#1
0
func NewProject(name string) Project {
	return Project{util.NewUUID(), name}
}
示例#2
0
func NewTimeRecord() TimeRecord {
	return TimeRecord{util.NewUUID(), time.Now(), 0, "", "", "", []string{}}
}