Turn page.go into an interface