mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-03-22 02:14:13 -05:00
16 lines
229 B
Go
16 lines
229 B
Go
package database
|
|
|
|
import (
|
|
"fmt"
|
|
"strings"
|
|
)
|
|
|
|
func Connect() {
|
|
connectMongo()
|
|
connectPostgres()
|
|
}
|
|
|
|
func PIDArrayToString(array []uint32) string {
|
|
return strings.Trim(strings.Replace(fmt.Sprint(array), " ", ",", -1), "[]")
|
|
}
|