Update todo.go

have one error for line 116:

  // id := m["id"].(int)//  cannot use id (type interface {}) as type int in function argument: need type assertion
 
 id, _ := strconv.Atoi(ctx.RouteData.Params["id"])// can use this one