diff options
| author | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-08 11:14:39 -0500 |
|---|---|---|
| committer | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-08 11:14:39 -0500 |
| commit | 471df4d7a1654f35756a202e26a5d28815222012 (patch) | |
| tree | 743a150149b1c0083c125da4c7c0ca487b2d600f /add.go | |
| parent | 10f8e8c5ea5d3dd191d7e51682efc237d34cded4 (diff) | |
More flexible and better documentation
Diffstat (limited to 'add.go')
| -rw-r--r-- | add.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ type options struct { DuplicateScope string `json:"duplicateScope"` } -func addCard(c *http.Client, front, back string) tea.Cmd { +func addCard(c *http.Client, deckName, modelName, front, back string) tea.Cmd { return func() tea.Msg { if back == "" { return errMsg(errors.New("definition is blank")) |
