@ -11,13 +11,13 @@ import (
func main() {
if err := UnZip("help.7z", "./web/static/help"); err != nil {
if err := UnZip("help.7z", "web/static/help"); err != nil {
log.Fatalln(err)
}
if err := UnZip("jsmap.7z", "./src/main/resources/static/jsmap"); err != nil {
if err := UnZip("jsmap.7z", "src/main/resources/static/jsmap"); err != nil {
if err := UnZip("template.7z", "./src/main/resources/static/template"); err != nil {
if err := UnZip("template.7z", "src/main/resources/static/template"); err != nil {
@ -15,7 +15,7 @@ func main() {
data := `data`
qggwy := `qggwy`
demo := `111`
fileType := `.gz`
fileType := `.zip`
os.Mkdir(dirPath+`\`+demo, os.ModePerm)
os.Mkdir(dirPath+`\`+fileName, os.ModePerm)
UnZip(dirPath+`\`+fileName+fileType, dirPath, pwd)