beancount-gs/service/events.go

18 lines
281 B
Go
Raw Normal View History

2023-12-05 09:57:48 +00:00
package service
import "github.com/gin-gonic/gin"
type Event struct {
Date string `json:"date"`
Type string `json:"type"`
Description string `json:"description"`
}
func GetAllEvents(c *gin.Context) {
OK(c, nil)
}
func AddEvent(c *gin.Context) {
OK(c, nil)
}