How to access Page struct in template_funcs.go?

I want to implement function that will return breadcrumbs.

func breadcrumbs(context hugolib.Page) (map[string]string, error) {
}

When I import “github.com/zinadesign/hugo/hugolib

import cycle not allowed

Use interface{}