glue go and java
This commit is contained in:
parent
3bbfed11fa
commit
8e462fedc1
4 changed files with 217 additions and 64 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue