goal

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGoalDetails

func GetGoalDetails(db *gorm.DB, goalType string, name string) gin.H

Types

type GoalSummary

type GoalSummary struct {
	Type       string          `json:"type"`
	Name       string          `json:"name"`
	Id         string          `json:"id"`
	Icon       string          `json:"icon"`
	Current    decimal.Decimal `json:"current"`
	Target     decimal.Decimal `json:"target"`
	TargetDate string          `json:"targetDate"`
	Priority   int             `json:"priority"`
}

func GetGoalSummaries

func GetGoalSummaries(db *gorm.DB) []GoalSummary

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL