Return pointers

This commit is contained in:
2016-12-27 00:45:30 +01:00
parent 30d9da1c81
commit 5b9b2e02a0
2 changed files with 4 additions and 4 deletions

View File

@@ -19,6 +19,6 @@ type UserBudget struct {
// BudgetService provides Methods for CRUD of Budgets
type BudgetService interface {
Budget(id string) (Budget, error)
BudgetsForUser(id string) ([]Budget, error)
Budget(id string) (*Budget, error)
BudgetsForUser(id string) ([]*Budget, error)
}