Documentation ¶
Index ¶
- func Contains(array interface{}, val interface{}) (index int)
- func ContainsBool(array []bool, val bool) (index int)
- func ContainsComplex(array []complex128, val complex128) (index int)
- func ContainsFloat(array []float64, val float64) (index int)
- func ContainsInt(array []int64, val int64) (index int)
- func ContainsString(array []string, val string) (index int)
- func ContainsUint(array []uint64, val uint64) (index int)
- func GetHostIP4() ([]string, error)
- func IsLegalIP4(s string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains(array interface{}, val interface{}) (index int)
Contains Returns the index position of the val in array
func ContainsBool ¶
ContainsBool Returns the index position of the bool val in array
func ContainsComplex ¶
func ContainsComplex(array []complex128, val complex128) (index int)
ContainsComplex Returns the index position of the complex128 val in array
func ContainsFloat ¶
ContainsFloat Returns the index position of the float64 val in array
func ContainsInt ¶
ContainsInt Returns the index position of the int64 val in array
func ContainsString ¶
ContainsString Returns the index position of the string val in array
func ContainsUint ¶
ContainsUint Returns the index position of the uint64 val in array
func GetHostIP4 ¶
func IsLegalIP4 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.