From eabd886ee36870c6a02bbf1caf79d91222ca1822 Mon Sep 17 00:00:00 2001 From: ziv-codefresh Date: Wed, 28 Sep 2022 16:53:08 +0300 Subject: [PATCH] wip --- pkg/util/vhost/router.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/util/vhost/router.go b/pkg/util/vhost/router.go index 645c1bcc..1e502f60 100644 --- a/pkg/util/vhost/router.go +++ b/pkg/util/vhost/router.go @@ -2,11 +2,9 @@ package vhost import ( "errors" - "fmt" "sort" "strings" "sync" - "unsafe" "github.com/jpillora/ipfilter" ) @@ -71,7 +69,6 @@ func (r *Routers) Add(domain, location, httpUser string, payload interface{}) er ipValidator: ipValidator, payload: payload, } - fmt.Printf("Size of %T struct: %d bytes", vr, unsafe.Sizeof(*vr)) vrs = append(vrs, vr) sort.Sort(sort.Reverse(ByLocation(vrs)))