Documentation
¶
Index ¶
- Constants
- func CalculateDistanceHaversine(lat1, lon1, lat2, lon2 float64) float64
- func CalculateDistanceVincentyInverse(lat1, lon1, lat2, lon2 float64) float64
- func FromDecimal(number int, width ...int) (string, error)
- func Passcode(callsign string) int
- func ToDecimal(text string) (int, error)
- func ValidateCallsign(callsign string) bool
- type Logger
Constants ¶
View Source
const Name = "aprsutils"
View Source
const Version = "1.2.3"
Variables ¶
This section is empty.
Functions ¶
func CalculateDistanceHaversine ¶
CalculateDistanceHaversine computes the distance between two coordinates using Haversine formula
func CalculateDistanceVincentyInverse ¶
CalculateDistanceVincentyInverse computes the distance between two coordinates using Vincenty Inverse formula
func FromDecimal ¶
FromDecimal transfer decimal to Base91
func ValidateCallsign ¶
ValidateCallsign checks whether a callsign is valid
Types ¶
Click to show internal directories.
Click to hide internal directories.