-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
up: remove any.go file, update some arr util functions
- Loading branch information
Showing
9 changed files
with
79 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package comdef | ||
|
||
// Int interface type | ||
type Int interface { | ||
~int | ~int8 | ~int16 | ~int32 | ~int64 | ||
} | ||
|
||
// Uint interface type | ||
type Uint interface { | ||
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ||
} | ||
|
||
// Xint interface type. all int or uint types | ||
type Xint interface { | ||
// equal: ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint32 | ~uint64 | ||
Int | Uint | ||
} | ||
|
||
// Float interface type | ||
type Float interface { | ||
~float32 | ~float64 | ||
} | ||
|
||
// IntOrFloat interface type. all int and float types | ||
type IntOrFloat interface { | ||
Int | Float | ||
} | ||
|
||
// XintOrFloat interface type. all (x)int and float types | ||
type XintOrFloat interface { | ||
Int | Uint | Float | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.