goal

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: AGPL-3.0 Imports: 10 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"`
	Icon       string          `json:"icon"`
	Current    decimal.Decimal `json:"current"`
	Target     decimal.Decimal `json:"target"`
	TargetDate string          `json:"targetDate"`
}

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