From 1857745d5ba3be64d19d1b138397ef9a97b15ec2 Mon Sep 17 00:00:00 2001 From: ispiroglu Date: Sat, 31 Aug 2024 14:00:12 +0300 Subject: [PATCH] fix: run fieldalignment tool and fix structs to reduce mem usage --- option.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/option.go b/option.go index 2d590e0..0ce1c53 100644 --- a/option.go +++ b/option.go @@ -5,14 +5,14 @@ import ( ) type configOptions struct { - disabled bool - path string referencePaths map[string]string + path string + disabled bool } type options struct { - timeout time.Duration configOptions configOptions + timeout time.Duration } func getOptions(opt ...Option) *options {