mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
remove used code
This commit is contained in:
@@ -1,23 +1,5 @@
|
|||||||
package utils
|
package utils
|
||||||
|
|
||||||
func IsStringSliceEuqals(s1, s2 []string) bool {
|
|
||||||
if (s1 == nil) != (s2 == nil) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
if len(s1) != len(s2) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
for i := 0; i < len(s1); i++ {
|
|
||||||
if s1[i] != s2[i] {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
func Int64SliceMinus(s1, s2 []int64) []int64 {
|
func Int64SliceMinus(s1, s2 []int64) []int64 {
|
||||||
if s1 == nil {
|
if s1 == nil {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user