glue go and java

This commit is contained in:
js0ny 2025-12-05 06:40:58 +00:00
parent 3bbfed11fa
commit 8e462fedc1
4 changed files with 217 additions and 64 deletions

View file

@ -14,9 +14,9 @@ import (
_ "github.com/mattn/go-sqlite3"
)
// Define the DroneEvent struct as JSON
// DroneEvent defines the DroneEvent struct as JSON
type DroneEvent struct {
DroneID string `json:"drone_id"`
DroneID string `json:"droneId"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Timestamp string `json:"timestamp"`