feat:完善入驻信息管理
This commit is contained in:
8
utils/utils.go
Normal file
8
utils/utils.go
Normal file
@ -0,0 +1,8 @@
|
||||
package utils
|
||||
|
||||
func ReverseSlice(src []int) []int {
|
||||
for from, to := 0, len(src)-1; from < to; from, to = from+1, to-1 {
|
||||
src[from], src[to] = src[to], src[from]
|
||||
}
|
||||
return src
|
||||
}
|
Reference in New Issue
Block a user