go doc friendly

This commit is contained in:
kayos 2021-05-30 21:47:40 -07:00
parent 711804afeb
commit cd50c251e1

@ -35,6 +35,7 @@ type Meta struct {
// WiFiScans map[int]*WiFiScan
}
// Instance of a BLE scan
type Scan struct {
Count int
ID int
@ -43,16 +44,6 @@ type Scan struct {
Devices map[int]*eros.Device
}
type ManufS struct {
ManufS []ManufData `json:"manufact"`
}
type ManufData struct {
UUID bluetooth.UUID `json: "ManufUUID"`
WhosIts string `json: "ManufString"`
MoreInfo string `json: "ManuFSite"`
}
func (m *Meta) NewScan() *Scan {
// Here we are creating an "anonymous" instance of a Scan struct
// You'll notice it doesn't contain most of the data that actually is supposed to live within that struct