diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 02:56:25 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 02:56:25 +0000 |
| commit | dc55f9c0097e1c36b85d7666071b840b902920e9 (patch) | |
| tree | c8c8ae10a9e134810b3361aabc8a9d426d813808 /api/dto/calendar.go | |
| parent | 5e7ce6cbae81a1b6e46fe6738dc10039a06bec95 (diff) | |
Add calendar support
Diffstat (limited to 'api/dto/calendar.go')
| -rw-r--r-- | api/dto/calendar.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/api/dto/calendar.go b/api/dto/calendar.go new file mode 100644 index 0000000..33da621 --- /dev/null +++ b/api/dto/calendar.go @@ -0,0 +1,15 @@ +package dto + +type GetCalendarResponse struct { + ID int32 `json:"id"` + Name string `json:"name"` + Key string `json:"key"` + URL string `json:"url"` +} + +type CreateCalendarResponse struct { + ID int32 `json:"id"` + Name string `json:"name"` + Key string `json:"key"` + URL string `json:"url"` +} |
