type RootType … const RootTypeGoRoot … const RootTypeGoPath … type FileSystem … type Opener … type ReadSeekCloser … // ReadFile reads the file named by path from fs and returns the contents. func ReadFile(fs Opener, path string) ([]byte, error) { … }