11 lines
206 B
Go
11 lines
206 B
Go
package stories
|
|
|
|
import (
|
|
"git.aiterp.net/rpdata/api/models"
|
|
)
|
|
|
|
// Remove the story from the database
|
|
func Remove(story models.Story) (models.Story, error) {
|
|
return story, collection.RemoveId(story.ID)
|
|
}
|