I am doing some light hacking on the rclone project, and I'm somewhat new to go. I have cloned the repository in my home directory, /home/poundifdef/rclone
.
When I look at the file, rclone.go
, in the top-level directory, I see the following import statement:
package main
import (
_ "github.com/ncw/rclone/backend/all"
"github.com/ncw/rclone/cmd"
_ "github.com/ncw/rclone/cmd/all"
)
My question is this: nowhere in this code, as far as I can tell, do we specify that the github.com/ncs/rclone/*
packages are supposed to refer to the local versions of these directories. Nowhere in my filesystem have I used a directory called github.com/ncw
. And yet, running go run rclone.go
is able to execute this code.
Where is the path github.com/ncw/rclone
being mapped to my local directory, given these packages, as named, do not exist?