Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

21 rader
731 B

  1. package model
  2. type Tracker struct {
  3. ID string `json:"id" gorm:"primaryKey"`
  4. Name string `json:"name"`
  5. MAC string `json:"mac"`
  6. Status string `json:"status"`
  7. Model string `json:"model"`
  8. Position string `json:"position"`
  9. Notes string `json:"notes"`
  10. X float32 `json:"x"`
  11. Y float32 `json:"y"`
  12. Floor string `json:"floor"`
  13. Building string `json:"building"`
  14. Location string `json:"location"`
  15. Distance float64 `json:"distance"`
  16. Battery uint32 `json:"battery"`
  17. BatteryThreshold uint32 `json:"batteryThreshold"`
  18. Temperature uint16 `json:"temperature"`
  19. }