在jupyterlab中访问gophernotes中的本地包

I'm trying to import a local package that lives at:

$GOPATH/src/localproject/packagename/packagename.go

Ordinarily, I can just run:

cd $GOPATH/src/localproject/

go build packagename/packagename.go

Then inside

cd $GOPATH/src/localproject/cmd/anotherapp/main.go

I can

package main

import (
    myalias "localproject/packagename"
    )

And work with the myalias library, and the myalias.func() functions.

How can I work with local libraries---that is, those sitting on my $GOPATH and not uploaded to github.com or golang.org---in jupyterLab using the gophernotes kernel?