Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTarGz ¶
ExtractTarGz extracts a tar.gz archive to the specified directory.
func ExtractTarGzFromReader ¶ added in v0.14.0
ExtractTarGzFromReader reads from the archiveReader and extracts its content to destDir.
Entries are written through an os.Root, so an entry whose name escapes destDir (e.g. "../../etc/passwd") is rejected instead of being written outside the destination (Zip Slip).
func OpenURL ¶
https://gist.github.com/sevkin/9798d67b2cb9d07cb05f89f14ba682f8 https://stackoverflow.com/questions/39320371/how-start-web-server-to-open-page-in-browser-in-golang openURL opens the specified URL in the default browser of the user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.