mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-12-19 20:54:37 -05:00
Update distribute-readme.go
This commit is contained in:
parent
1c2e93b3fe
commit
324a6b7734
@ -71,7 +71,9 @@ func main() {
|
|||||||
if reflect.TypeOf(m[t]).String() == "string" {
|
if reflect.TypeOf(m[t]).String() == "string" {
|
||||||
m[t] = tool
|
m[t] = tool
|
||||||
} else {
|
} else {
|
||||||
m[t] = mergeKeys(tool, m[t].(map[string]interface{}))
|
tool = mergeKeys(tool, m[t].(map[string]interface{}))
|
||||||
|
//fmt.Println(tool)
|
||||||
|
m[t] = tool
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
readme := ""
|
readme := ""
|
||||||
@ -90,10 +92,11 @@ func main() {
|
|||||||
if reflect.TypeOf(val).String() != "string" {
|
if reflect.TypeOf(val).String() != "string" {
|
||||||
} else {
|
} else {
|
||||||
vd := vv.(map[string]interface{})[val]
|
vd := vv.(map[string]interface{})[val]
|
||||||
readme = readme + vd.(string) + "<br>"
|
readme = readme + vd.(string) + "\r\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Println(readme)
|
||||||
top, err := os.Open("template/head.md")
|
top, err := os.Open("template/head.md")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user