summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-06-07 10:47:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-06-07 10:47:59 +0200
commit945fa5e6f82a2798e02eec906f3af0a7c53ae419 (patch)
tree390e71a718f0e9c122875b7ac22bd14ae2f871e7 /src
parentfix unreachable code (diff)
add one more TODO
Diffstat (limited to 'src')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5typesStore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5typesStore.go b/src/hub/src/spreadspace.org/sfive/s5typesStore.go
index 57e6776..9e154c8 100644
--- a/src/hub/src/spreadspace.org/sfive/s5typesStore.go
+++ b/src/hub/src/spreadspace.org/sfive/s5typesStore.go
@@ -130,7 +130,7 @@ func NewClientDB(c *Client) *clientDB {
}
}
-func (c *clientDB) Slug() string {
+func (c *clientDB) Slug() string { // TODO: use better seperator between IP:Port, : might not be unique if IP is an IPv6 address
return fmt.Sprintf("%s:%d/%s/%s/%s/%f,%f", c.IP, c.Port, c.CountryCode2, c.RegionCode, c.CityName, c.Latitude, c.Longitude)
}