Documentation
¶
Index ¶
- Constants
- Variables
- 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.1.1"
Variables ¶
View Source
var CompiledRegexps *compiledRegexp
CompiledRegexps saves all compiled regexp here
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 ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.