api

package
v0.0.0-...-b52a236 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEcho

func GetEcho(hub *ControllersHub) *echo.Echo

Types

type ControllersHub

type ControllersHub struct {
	// contains filtered or unexported fields
}

func NewControllersHub

func NewControllersHub(userService *user.Service, billService *bill.Service) *ControllersHub

type ImportBillsRequest

type ImportBillsRequest struct {
	Bills []struct {
		Amount    float64    `json:"amount"`
		Category  string     `json:"category"`
		Name      *string    `json:"name,omitempty"`      // optional
		CreatedAt *time.Time `json:"createdAt,omitempty"` // if not provided, then use current time as default
	}
}

Jump to

Keyboard shortcuts

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