Skip to content

Instantly share code, notes, and snippets.

@sapiens-sapide
Created February 8, 2018 11:21
Show Gist options
  • Save sapiens-sapide/08219880f300e644a555cc7ff4b7da7d to your computer and use it in GitHub Desktop.
Save sapiens-sapide/08219880f300e644a555cc7ff4b7da7d to your computer and use it in GitHub Desktop.
type DeviceLocation struct {
// PRIMARY KEYS (device_id, ip_address)
Country string `cql:"country" json:"country,omitempty"`
DeviceId UUID `cql:"device_id" json:"device_id"`
IpAddress string `cql:"ip_address" json:"ip_address,omitempty"`
PrivacyFeatures *PrivacyFeatures `cql:"privacy_features" json:"privacy_features,omitempty"`
Type string `cql:"type" json:"type,omitempty"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment