You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: record_revisions.go
    path of file: ./repos/corteza/server/compose/service
    
    the code of the file until where you have to start completion: package service

import (
	"context"
	"github.com/cortezaproject/corteza/ser
    
func (svc *recordRevisions) modelRef(mod *types.Module) (mf dal.ModelRef) {
	mf = mod.ModelRef()

	// removing resource ID from model filter
	// this will force DAL service to use FindModelByResourceIdent
	// to find model with same Resource value and RevisionResourceType
	// for ResourceType
	mf.ResourceID = 0
	mf.ResourceType = revisions.RevisionResourceType
	return
}