Documentation ¶ Index ¶ type CleanupFunc func UnzipTemp(path string) (string, CleanupFunc, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CleanupFunc ¶ type CleanupFunc func() CleanupFunc can be invoked to cleanup any temporary state. func UnzipTemp ¶ func UnzipTemp(path string) (string, CleanupFunc, error) UnzipTemp unzips a zip archive to temporary path, and returns the path. The returned cleanup function should be invoked to cleanup any temporary state when it is no longer needed. Source Files ¶ View all Source files unzip.go Click to show internal directories. Click to hide internal directories.