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

This commit is contained in:
2023-08-20 15:44:01 +00:00

View File

@@ -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) {