From 945fa5e6f82a2798e02eec906f3af0a7c53ae419 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 7 Jun 2017 10:47:36 +0200 Subject: add one more TODO --- src/hub/src/spreadspace.org/sfive/s5typesStore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3