aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-12-25 15:27:55 +0700
committerShulhan <ms@kilabit.info>2021-12-27 09:54:25 +0700
commit6f52381f1af4c565b18cc15c605080785337b67e (patch)
treee0783b1725d9d1ce1e695a52532aa92a703b82dd
parent69c25e7787664b1f7641a0846f9fb3796ccb79ad (diff)
downloadrescached-6f52381f1af4c565b18cc15c605080785337b67e.tar.xz
cmd/resolver: realign struct options
This save the memory size from 80 to 72 bytes (-8 bytes).
-rw-r--r--cmd/resolver/options.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/resolver/options.go b/cmd/resolver/options.go
index 250c6da..063fc21 100644
--- a/cmd/resolver/options.go
+++ b/cmd/resolver/options.go
@@ -44,10 +44,11 @@ type options struct {
sqclass string
nameserver string
- insecure bool
qname string
qtype dns.RecordType
qclass dns.RecordClass
+
+ insecure bool
}
func help() {