将所有外部golang模块导入一个文件,然后从该文件导入?

Is there a way to import external modules into one file and then import from that file?

For example:

// externals.go
import ( 
  Bitbucket "bitbucket.org/user/project"
  Github "github.com/user/project"
)

// main.go
import (
  "externals/Bitbucket"
  "externals/Github"
)

Is the above in some form possible?

No. This is not possible, not even with some tricks.

No, this is not possible. It is a specific design goal of Go to make all dependencies explicit.

See http://talks.golang.org/2012/splash.article and section 7 in particular for more detail on this.