Merge branch 'main' of gitea.local:nathan/golearn

main
nathan 1 year ago
commit 9645f10353

@ -44,6 +44,7 @@ func (m *SnippetModel) Get(id int) (*Snippet, error) {
} }
} }
return s, nil return s, nil
} }
func (m *SnippetModel) Latest() ([]*Snippet, error) { func (m *SnippetModel) Latest() ([]*Snippet, error) {

Loading…
Cancel
Save