gofmt
This commit is contained in:
parent
247e01c20a
commit
292ff44701
4
main.go
4
main.go
|
@ -189,8 +189,8 @@ func GetCommand(body, from, dir string) string {
|
||||||
func Strip(s, s2 *string) {
|
func Strip(s, s2 *string) {
|
||||||
strip, _ := regexp.Compile("(`|\\$|\\.\\.)")
|
strip, _ := regexp.Compile("(`|\\$|\\.\\.)")
|
||||||
q, _ := regexp.Compile("(\"|')")
|
q, _ := regexp.Compile("(\"|')")
|
||||||
*s = q.ReplaceAllString(strip.ReplaceAllString(*s, ""),"“")
|
*s = q.ReplaceAllString(strip.ReplaceAllString(*s, ""), "“")
|
||||||
*s2 = q.ReplaceAllString(strip.ReplaceAllString(*s2, ""),"“")
|
*s2 = q.ReplaceAllString(strip.ReplaceAllString(*s2, ""), "“")
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetNick(s string) string {
|
func GetNick(s string) string {
|
||||||
|
|
Loading…
Reference in New Issue