mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-17 05:11:05 +03:00
Fixes and improvements
This commit is contained in:
12
service/manager/repository/main/postgresql/utils.go
Normal file
12
service/manager/repository/main/postgresql/utils.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package postgresql
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
func marshalStringSlice(values []string) ([]byte, error) {
|
||||
if values == nil {
|
||||
values = []string{}
|
||||
}
|
||||
return json.Marshal(values)
|
||||
}
|
||||
Reference in New Issue
Block a user