Structured output of measurements

This commit is contained in:
Arturo Filastò 2018-09-10 18:03:32 +02:00
commit 1637fdbf93
6 changed files with 33 additions and 11 deletions

View file

@ -22,6 +22,7 @@ type ResultNetwork struct {
// MeasurementURLNetwork is used for the JOIN between Measurement and URL
type MeasurementURLNetwork struct {
Measurement `db:",inline"`
MsmtTblID int64 `db:"msmt_tbl_id"`
Network `db:",inline"`
NetworkID int64 `db:"network_id"`
URL `db:",inline"`