Merge branch 'main' of gitea.local:nathan/golearn
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user