I tried out aerokite's solution, but found out that I had to pass --mount as well as --mount-string "local-path:minikube-path" to mount a directory in minikube.
minikube start --mount-string ${HOME}/go/src/github.com/nginx:/data --mount.
Spent some time figuring this out.