|
1 | 1 | package fp |
2 | 2 |
|
3 | 3 | // DifferenceInt returns a set that is the first set without elements of the remaining sets |
| 4 | +// repeated value within list parameter will be ignored |
4 | 5 | func DifferenceInt(arrList ...[]int) []int { |
5 | 6 | if arrList == nil { |
6 | 7 | return []int{} |
@@ -47,6 +48,7 @@ func DifferenceInt(arrList ...[]int) []int { |
47 | 48 | } |
48 | 49 |
|
49 | 50 | // DifferenceIntPtr returns a set that is the first set without elements of the remaining sets |
| 51 | +// repeated value within list parameter will be ignored |
50 | 52 | func DifferenceIntPtr(arrList ...[]*int) []*int { |
51 | 53 | if arrList == nil { |
52 | 54 | return []*int{} |
@@ -93,6 +95,7 @@ func DifferenceIntPtr(arrList ...[]*int) []*int { |
93 | 95 | } |
94 | 96 |
|
95 | 97 | // DifferenceInt64 returns a set that is the first set without elements of the remaining sets |
| 98 | +// repeated value within list parameter will be ignored |
96 | 99 | func DifferenceInt64(arrList ...[]int64) []int64 { |
97 | 100 | if arrList == nil { |
98 | 101 | return []int64{} |
@@ -139,6 +142,7 @@ func DifferenceInt64(arrList ...[]int64) []int64 { |
139 | 142 | } |
140 | 143 |
|
141 | 144 | // DifferenceInt64Ptr returns a set that is the first set without elements of the remaining sets |
| 145 | +// repeated value within list parameter will be ignored |
142 | 146 | func DifferenceInt64Ptr(arrList ...[]*int64) []*int64 { |
143 | 147 | if arrList == nil { |
144 | 148 | return []*int64{} |
@@ -185,6 +189,7 @@ func DifferenceInt64Ptr(arrList ...[]*int64) []*int64 { |
185 | 189 | } |
186 | 190 |
|
187 | 191 | // DifferenceInt32 returns a set that is the first set without elements of the remaining sets |
| 192 | +// repeated value within list parameter will be ignored |
188 | 193 | func DifferenceInt32(arrList ...[]int32) []int32 { |
189 | 194 | if arrList == nil { |
190 | 195 | return []int32{} |
@@ -231,6 +236,7 @@ func DifferenceInt32(arrList ...[]int32) []int32 { |
231 | 236 | } |
232 | 237 |
|
233 | 238 | // DifferenceInt32Ptr returns a set that is the first set without elements of the remaining sets |
| 239 | +// repeated value within list parameter will be ignored |
234 | 240 | func DifferenceInt32Ptr(arrList ...[]*int32) []*int32 { |
235 | 241 | if arrList == nil { |
236 | 242 | return []*int32{} |
@@ -277,6 +283,7 @@ func DifferenceInt32Ptr(arrList ...[]*int32) []*int32 { |
277 | 283 | } |
278 | 284 |
|
279 | 285 | // DifferenceInt16 returns a set that is the first set without elements of the remaining sets |
| 286 | +// repeated value within list parameter will be ignored |
280 | 287 | func DifferenceInt16(arrList ...[]int16) []int16 { |
281 | 288 | if arrList == nil { |
282 | 289 | return []int16{} |
@@ -323,6 +330,7 @@ func DifferenceInt16(arrList ...[]int16) []int16 { |
323 | 330 | } |
324 | 331 |
|
325 | 332 | // DifferenceInt16Ptr returns a set that is the first set without elements of the remaining sets |
| 333 | +// repeated value within list parameter will be ignored |
326 | 334 | func DifferenceInt16Ptr(arrList ...[]*int16) []*int16 { |
327 | 335 | if arrList == nil { |
328 | 336 | return []*int16{} |
@@ -369,6 +377,7 @@ func DifferenceInt16Ptr(arrList ...[]*int16) []*int16 { |
369 | 377 | } |
370 | 378 |
|
371 | 379 | // DifferenceInt8 returns a set that is the first set without elements of the remaining sets |
| 380 | +// repeated value within list parameter will be ignored |
372 | 381 | func DifferenceInt8(arrList ...[]int8) []int8 { |
373 | 382 | if arrList == nil { |
374 | 383 | return []int8{} |
@@ -415,6 +424,7 @@ func DifferenceInt8(arrList ...[]int8) []int8 { |
415 | 424 | } |
416 | 425 |
|
417 | 426 | // DifferenceInt8Ptr returns a set that is the first set without elements of the remaining sets |
| 427 | +// repeated value within list parameter will be ignored |
418 | 428 | func DifferenceInt8Ptr(arrList ...[]*int8) []*int8 { |
419 | 429 | if arrList == nil { |
420 | 430 | return []*int8{} |
@@ -461,6 +471,7 @@ func DifferenceInt8Ptr(arrList ...[]*int8) []*int8 { |
461 | 471 | } |
462 | 472 |
|
463 | 473 | // DifferenceUint returns a set that is the first set without elements of the remaining sets |
| 474 | +// repeated value within list parameter will be ignored |
464 | 475 | func DifferenceUint(arrList ...[]uint) []uint { |
465 | 476 | if arrList == nil { |
466 | 477 | return []uint{} |
@@ -507,6 +518,7 @@ func DifferenceUint(arrList ...[]uint) []uint { |
507 | 518 | } |
508 | 519 |
|
509 | 520 | // DifferenceUintPtr returns a set that is the first set without elements of the remaining sets |
| 521 | +// repeated value within list parameter will be ignored |
510 | 522 | func DifferenceUintPtr(arrList ...[]*uint) []*uint { |
511 | 523 | if arrList == nil { |
512 | 524 | return []*uint{} |
@@ -553,6 +565,7 @@ func DifferenceUintPtr(arrList ...[]*uint) []*uint { |
553 | 565 | } |
554 | 566 |
|
555 | 567 | // DifferenceUint64 returns a set that is the first set without elements of the remaining sets |
| 568 | +// repeated value within list parameter will be ignored |
556 | 569 | func DifferenceUint64(arrList ...[]uint64) []uint64 { |
557 | 570 | if arrList == nil { |
558 | 571 | return []uint64{} |
@@ -599,6 +612,7 @@ func DifferenceUint64(arrList ...[]uint64) []uint64 { |
599 | 612 | } |
600 | 613 |
|
601 | 614 | // DifferenceUint64Ptr returns a set that is the first set without elements of the remaining sets |
| 615 | +// repeated value within list parameter will be ignored |
602 | 616 | func DifferenceUint64Ptr(arrList ...[]*uint64) []*uint64 { |
603 | 617 | if arrList == nil { |
604 | 618 | return []*uint64{} |
@@ -645,6 +659,7 @@ func DifferenceUint64Ptr(arrList ...[]*uint64) []*uint64 { |
645 | 659 | } |
646 | 660 |
|
647 | 661 | // DifferenceUint32 returns a set that is the first set without elements of the remaining sets |
| 662 | +// repeated value within list parameter will be ignored |
648 | 663 | func DifferenceUint32(arrList ...[]uint32) []uint32 { |
649 | 664 | if arrList == nil { |
650 | 665 | return []uint32{} |
@@ -691,6 +706,7 @@ func DifferenceUint32(arrList ...[]uint32) []uint32 { |
691 | 706 | } |
692 | 707 |
|
693 | 708 | // DifferenceUint32Ptr returns a set that is the first set without elements of the remaining sets |
| 709 | +// repeated value within list parameter will be ignored |
694 | 710 | func DifferenceUint32Ptr(arrList ...[]*uint32) []*uint32 { |
695 | 711 | if arrList == nil { |
696 | 712 | return []*uint32{} |
@@ -737,6 +753,7 @@ func DifferenceUint32Ptr(arrList ...[]*uint32) []*uint32 { |
737 | 753 | } |
738 | 754 |
|
739 | 755 | // DifferenceUint16 returns a set that is the first set without elements of the remaining sets |
| 756 | +// repeated value within list parameter will be ignored |
740 | 757 | func DifferenceUint16(arrList ...[]uint16) []uint16 { |
741 | 758 | if arrList == nil { |
742 | 759 | return []uint16{} |
@@ -783,6 +800,7 @@ func DifferenceUint16(arrList ...[]uint16) []uint16 { |
783 | 800 | } |
784 | 801 |
|
785 | 802 | // DifferenceUint16Ptr returns a set that is the first set without elements of the remaining sets |
| 803 | +// repeated value within list parameter will be ignored |
786 | 804 | func DifferenceUint16Ptr(arrList ...[]*uint16) []*uint16 { |
787 | 805 | if arrList == nil { |
788 | 806 | return []*uint16{} |
@@ -829,6 +847,7 @@ func DifferenceUint16Ptr(arrList ...[]*uint16) []*uint16 { |
829 | 847 | } |
830 | 848 |
|
831 | 849 | // DifferenceUint8 returns a set that is the first set without elements of the remaining sets |
| 850 | +// repeated value within list parameter will be ignored |
832 | 851 | func DifferenceUint8(arrList ...[]uint8) []uint8 { |
833 | 852 | if arrList == nil { |
834 | 853 | return []uint8{} |
@@ -875,6 +894,7 @@ func DifferenceUint8(arrList ...[]uint8) []uint8 { |
875 | 894 | } |
876 | 895 |
|
877 | 896 | // DifferenceUint8Ptr returns a set that is the first set without elements of the remaining sets |
| 897 | +// repeated value within list parameter will be ignored |
878 | 898 | func DifferenceUint8Ptr(arrList ...[]*uint8) []*uint8 { |
879 | 899 | if arrList == nil { |
880 | 900 | return []*uint8{} |
@@ -921,6 +941,7 @@ func DifferenceUint8Ptr(arrList ...[]*uint8) []*uint8 { |
921 | 941 | } |
922 | 942 |
|
923 | 943 | // DifferenceStr returns a set that is the first set without elements of the remaining sets |
| 944 | +// repeated value within list parameter will be ignored |
924 | 945 | func DifferenceStr(arrList ...[]string) []string { |
925 | 946 | if arrList == nil { |
926 | 947 | return []string{} |
@@ -967,6 +988,7 @@ func DifferenceStr(arrList ...[]string) []string { |
967 | 988 | } |
968 | 989 |
|
969 | 990 | // DifferenceStrPtr returns a set that is the first set without elements of the remaining sets |
| 991 | +// repeated value within list parameter will be ignored |
970 | 992 | func DifferenceStrPtr(arrList ...[]*string) []*string { |
971 | 993 | if arrList == nil { |
972 | 994 | return []*string{} |
@@ -1013,6 +1035,7 @@ func DifferenceStrPtr(arrList ...[]*string) []*string { |
1013 | 1035 | } |
1014 | 1036 |
|
1015 | 1037 | // DifferenceBool returns a set that is the first set without elements of the remaining sets |
| 1038 | +// repeated value within list parameter will be ignored |
1016 | 1039 | func DifferenceBool(arrList ...[]bool) []bool { |
1017 | 1040 | if arrList == nil { |
1018 | 1041 | return []bool{} |
@@ -1059,6 +1082,7 @@ func DifferenceBool(arrList ...[]bool) []bool { |
1059 | 1082 | } |
1060 | 1083 |
|
1061 | 1084 | // DifferenceBoolPtr returns a set that is the first set without elements of the remaining sets |
| 1085 | +// repeated value within list parameter will be ignored |
1062 | 1086 | func DifferenceBoolPtr(arrList ...[]*bool) []*bool { |
1063 | 1087 | if arrList == nil { |
1064 | 1088 | return []*bool{} |
@@ -1105,6 +1129,7 @@ func DifferenceBoolPtr(arrList ...[]*bool) []*bool { |
1105 | 1129 | } |
1106 | 1130 |
|
1107 | 1131 | // DifferenceFloat32 returns a set that is the first set without elements of the remaining sets |
| 1132 | +// repeated value within list parameter will be ignored |
1108 | 1133 | func DifferenceFloat32(arrList ...[]float32) []float32 { |
1109 | 1134 | if arrList == nil { |
1110 | 1135 | return []float32{} |
@@ -1151,6 +1176,7 @@ func DifferenceFloat32(arrList ...[]float32) []float32 { |
1151 | 1176 | } |
1152 | 1177 |
|
1153 | 1178 | // DifferenceFloat32Ptr returns a set that is the first set without elements of the remaining sets |
| 1179 | +// repeated value within list parameter will be ignored |
1154 | 1180 | func DifferenceFloat32Ptr(arrList ...[]*float32) []*float32 { |
1155 | 1181 | if arrList == nil { |
1156 | 1182 | return []*float32{} |
@@ -1197,6 +1223,7 @@ func DifferenceFloat32Ptr(arrList ...[]*float32) []*float32 { |
1197 | 1223 | } |
1198 | 1224 |
|
1199 | 1225 | // DifferenceFloat64 returns a set that is the first set without elements of the remaining sets |
| 1226 | +// repeated value within list parameter will be ignored |
1200 | 1227 | func DifferenceFloat64(arrList ...[]float64) []float64 { |
1201 | 1228 | if arrList == nil { |
1202 | 1229 | return []float64{} |
@@ -1243,6 +1270,7 @@ func DifferenceFloat64(arrList ...[]float64) []float64 { |
1243 | 1270 | } |
1244 | 1271 |
|
1245 | 1272 | // DifferenceFloat64Ptr returns a set that is the first set without elements of the remaining sets |
| 1273 | +// repeated value within list parameter will be ignored |
1246 | 1274 | func DifferenceFloat64Ptr(arrList ...[]*float64) []*float64 { |
1247 | 1275 | if arrList == nil { |
1248 | 1276 | return []*float64{} |
|
0 commit comments