Skip to content

Commit 8d3a13d

Browse files
committed
json changes
1 parent 730e766 commit 8d3a13d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

handlers/gemini.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ type Snippet struct {
2020
Title string `json:"title"`
2121
Category string `json:"category"`
2222
Content string `json:"content"`
23-
DateTime time.Time `json:"dateTime"`
24-
Notes string `json:"notes"`
23+
DateTime time.Time `json:"date"`
24+
Notes string `json:"customNotes"`
25+
Type string `json:"type"`
26+
Source string `json:"source"`
27+
ID string `json:"id"`
2528
}
2629

2730
func GeminiHandler(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)