Versions in this module Expand all Collapse all v0 v0.4.0 Oct 21, 2015 Changes in this version + func DownloadPackage(typ int, pid int, name string, fid int) (string, io.ReadCloser, error) + func DownloadPackageInfo(typ int, pid int, name string) (io.ReadCloser, error) + func FileSize(size int64) string + func FindGo() error + func FindJava() error + func GetHomeDir() string + func MkDirIfNotExist(dir string) error + func Must(e error) + func MustClose(cl io.Closer) + func ReadGobGzip(file string, v interface{}) error + func WriteGobGzip(file string, v interface{}) error + type PackageOptions struct + Dir string + ShouldUnpack bool + func GetPackageOptions(typ int) *PackageOptions + type ProgressReader struct + func NewProgressReader(r io.Reader, total uint64, intro string) *ProgressReader + func (pr *ProgressReader) Close() error + func (pr *ProgressReader) Read(p []byte) (n int, err error)