diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-10 09:06:52 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-10 09:25:51 +0100 |
commit | dd877bc8168c1a87a9d05d36f42b333b861c6e7e (patch) | |
tree | 0c489720344e4e67ec56097ae0466a1aa2607470 /lib/xdsconfig/data.go | |
parent | 55976cdcd58ed3311090aeb9d371bff53c49dcc1 (diff) |
Fixed go linter warnings.
Diffstat (limited to 'lib/xdsconfig/data.go')
-rw-r--r-- | lib/xdsconfig/data.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xdsconfig/data.go b/lib/xdsconfig/data.go index b582ec5..ad18d60 100644 --- a/lib/xdsconfig/data.go +++ b/lib/xdsconfig/data.go @@ -35,13 +35,14 @@ type xmlServerData struct { Data ServerData `xml:"server-data"` } +// ServerData Hold server data saved in ServerData file type ServerData struct { ID string `xml:"id"` } var sdMutex = sync.NewMutex() -// ServerIDGet +// ServerIDGet Get Server unique ID func ServerIDGet() (string, error) { var f string var err error |