package logs import "git.aiterp.net/rpdata/api/models" // Remove removes the log. func Remove(log models.Log) (models.Log, error) { err := collection.RemoveId(log.ID) if err != nil { return models.Log{}, err } return log, nil }