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: edge.go
    path of file: ./repos/sealer/vendor/github.com/onsi/gomega/matchers/support/goraph/edge
    
    the code of the file until where you have to start completion: package edge

import . "github.com/onsi/gomega/matchers/support/goraph/node"

type Edge struct {
	Node1 int
	Node2 int
}

type EdgeSet []Edge

func (ec EdgeSet) Free(node Node) bool {
	for
    
func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool) {
	for _, e := range ec {
		if (e.Node1 == node1.ID && e.Node2 == node2.ID) || (e.Node1 == node2.ID && e.Node2 == node1.ID) {
			return e, true
		}
	}

	return Edge{}, false
}