fixed struct alignment && refactor linter #369

Merged
vtolstov merged 4 commits from devstigneev/micro:v3 into v3 2024-12-09 16:23:26 +03:00
Showing only changes of commit 0081ec0f5e - Show all commits

View File

@ -8,15 +8,13 @@ import (
func TestCache(t *testing.T) { func TestCache(t *testing.T) {
net.DefaultResolver = NewNetResolver(PreferIPV4(true)) net.DefaultResolver = NewNetResolver(PreferIPV4(true))
addrs, err := net.LookupHost("unistack.org") _, err := net.LookupHost("unistack.org")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
addrs, err = net.LookupHost("unistack.org") _, err = net.LookupHost("unistack.org")
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
_ = addrs
} }