rename backend to pkg

This commit is contained in:
Torkel Ödegaard
2014-08-12 20:45:41 +02:00
parent e7ce371ee8
commit 9e30599f1f
16 changed files with 10 additions and 10 deletions
+19
View File
@@ -0,0 +1,19 @@
package api
type saveDashboardCommand struct {
Id string `json:"id"`
Title string `json:"title"`
Dashboard map[string]interface{}
}
type errorResponse struct {
Message string `json:"message"`
}
type indexViewModel struct {
title string
}
func newErrorResponse(message string) *errorResponse {
return &errorResponse{Message: message}
}