// New creates an initialized todo repository
New creates an initialized todo repository
// New creates an initialized todo repository
func new() *InMemoryTodos {
	a, _ := uuid.NewV4()
	b, _ := uuid.NewV4()
	c, _ := uuid.NewV4()
	return &InMemoryTodos{
		todos: map[uuid.UUID]*models.Todo{
			*a: &models.Todo{ID: a.String(), Title: "Walk the dog"},
			*b: &models.Todo{ID: b.String(), Title: "Go to Mars"},
			*c: &models.Todo{ID: c.String(), Title: "Go outside"},
		},
	}
}
func new ( ) * InMemoryTodos { a , _ := uuid . NewV4 ( ) b , _ := uuid . NewV4 ( ) c , _ := uuid . NewV4 ( ) return & InMemoryTodos { todos : map [ uuid . UUID ] * models . Todo { * a : & models . Todo { ID : a . String ( ) , Title : " " } , * b : & models . Todo { ID : b . String ( ) , Title : " " } , * c : & models . Todo { ID : c . String ( ) , Title : " " } , } , } }
New creates an initialized todo repository
New creates an initialized todo repository