Browse Source

Merge remote-tracking branch 'origin/master'

main
pixel 5 years ago
parent
commit
b7f6eaf6ed
  1. 10
      QMPlusServer/tools/array_to_string.go

10
QMPlusServer/tools/array_to_string.go

@ -0,0 +1,10 @@
package tools
import (
"fmt"
"strings"
)
func ArrayToString(array []interface{}) string {
return strings.Replace(strings.Trim(fmt.Sprint(array), "[]"), " ", ",", -1)
}
Loading…
Cancel
Save