feat(app): update
This commit is contained in:
@ -78,7 +78,7 @@ func ListToSet(list []string) (set []string) {
|
||||
return
|
||||
}
|
||||
|
||||
func ToJson(source interface{}) []byte {
|
||||
func ToJson(source any) []byte {
|
||||
b, _ := json.Marshal(source)
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user