models

package
v0.0.0-...-95d6831 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBStation

type DBStation struct {
	gorm.Model
	Callsign   string `gorm:"unique"`
	Maidenhead string
	Lat        float64
	Lon        float64
}

type Station

type Station struct {
	Callsign   string  `json:"callsign"`
	Maidenhead string  `json:"maidenhead"`
	Lat        float64 `json:"latitude"`
	Lon        float64 `json:"longitude"`
}

func (*Station) MaidenheadToLatLon

func (s *Station) MaidenheadToLatLon()

func (*Station) Merge

func (s *Station) Merge(incoming Station)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL