Versions in this module Expand all Collapse all v1 v1.3.0 Dec 20, 2018 Changes in this version + type Category struct + Activity int64 + Balance int64 + Budgeted int64 + CategoryGroupID string + Deleted bool + GoalCreationMonth *api.Date + GoalPercentageComplete *uint16 + GoalTarget *int64 + GoalTargetMonth *api.Date + GoalType *Goal + Hidden bool + ID string + Name string + Note *string + OriginalCategoryGroupID *string + type Goal string + const GoalMonthlyFunding + const GoalTargetCategoryBalance + const GoalTargetCategoryBalanceByDate + func (g Goal) Pointer() *Goal + type Group struct + Deleted bool + Hidden bool + ID string + Name string + type GroupWithCategories struct + Categories []*Category + Deleted bool + Hidden bool + ID string + Name string + type PayloadMonthCategory struct + Budgeted int64 + type Service struct + func NewService(c api.ClientReaderWriter) *Service + func (s *Service) GetCategories(budgetID string) ([]*GroupWithCategories, error) + func (s *Service) GetCategory(budgetID, categoryID string) (*Category, error) + func (s *Service) GetCategoryForCurrentMonth(budgetID, categoryID string) (*Category, error) + func (s *Service) GetCategoryForMonth(budgetID, categoryID string, month api.Date) (*Category, error) + func (s *Service) UpdateCategoryForCurrentMonth(budgetID, categoryID string, p PayloadMonthCategory) (*Category, error) + func (s *Service) UpdateCategoryForMonth(budgetID, categoryID string, month api.Date, p PayloadMonthCategory) (*Category, error)