From eab8ac2dca82ed2cb8ae9347feeb6a3ec772b6d0 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Wed, 10 Aug 2022 15:48:51 +0200 Subject: [PATCH] Make the linter happy (add a comment) exported var EmulatedHostSeed should have comment or be unexported Signed-off-by: Francesco Giudici --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 55f3400..caa1d5a 100644 --- a/config.go +++ b/config.go @@ -83,6 +83,7 @@ func tokenize() int64 { return int64(hashit(hostname)) } +// EmulatedHostSeed generates a seed based on the hostname var EmulatedHostSeed = func() Option { return func(c *config) error { c.seed = tokenize()