func NewResourceID(statement Statement) ResourceID {
	if statement.Alias != "" {
		return ResourceID(statement.Alias)
	}
	return ResourceID(statement.Resource)
}
NewResourceID make a ResourceID from a Statement.
package domain
import "github.com/b2wdigital/restQL-golang/v6/pkg/restql"
type ResourceID string