package characters import "git.aiterp.net/rpdata/api/models" // Remove removes a character, returning it if it succeeds func Remove(character models.Character) (models.Character, error) { err := collection.RemoveId(character.ID) if err != nil { return models.Character{}, err } return character, nil }