chore: cleanup code

This commit is contained in:
wwqgtxx
2022-12-22 09:53:11 +08:00
parent 63922f86a2
commit 980454beb2
5 changed files with 45 additions and 98 deletions

View File

@ -69,7 +69,7 @@ func WithOnlySingleStack(isIPv4 bool) Option {
}
}
func withOption(o option) Option {
func WithOption(o option) Option {
return func(opt *option) {
*opt = o
}