Documentation
¶
Index ¶
- func ByteArrayToHexString(array []byte, n int) (hex string)
- func BytesToFloat(arr []byte, reverse bool) float64
- func BytesToInt(arr []byte, reverse bool) int64
- func CalculateDistance(loc1, loc2 *Location) float64
- func Contains(array interface{}, item interface{}) (bool, int)
- func CreateBytes(value byte, length, size int) []byte
- func CreateInts(value, length, size int) []int
- func FloatToBytes(dec float64, bytes byte, reverse bool) []byte
- func IntToBytes(dec uint64, bytes byte, reverse bool) []byte
- func IntsToBytes(ints ...int) []byte
- func Keys(a map[int]interface{}) []int
- func MapDiff(a, b map[interface{}]interface{}) map[interface{}]interface{}
- func NewLog(file string, text string)
- func ParseDate(date null.Time) string
- func ParseFloat(d string) float64
- func PvPFunc(val int) int
- func RandFloat(min, max float64) float64
- func RandFloats(min, max float64, count int) []float64
- func RandInt(min, max int64) int64
- func RemoveAccents(s string) string
- func SearchUInt64(a []uint64, x uint64) int
- func SigmaFunc(x float64) float64
- func SliceDiff(a, b []int) []int
- func StringToBool(s string) bool
- func StringToFloat64(s string) float64
- func StringToInt(s string) int
- type Location
- type Packet
- type SMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteArrayToHexString ¶
func BytesToFloat ¶
func BytesToInt ¶
func CalculateDistance ¶
func CreateBytes ¶
func CreateInts ¶
func IntsToBytes ¶
func ParseFloat ¶
func RandFloats ¶
func RemoveAccents ¶
func SearchUInt64 ¶
func StringToBool ¶
func StringToFloat64 ¶
func StringToInt ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.