mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-30 16:47:02 +00:00
Minor code aesthetic improvements, based on vet+fmt+lint
This patch is the result of running go vet, go fmt -s and the linter, and fixing some of the things they noted/suggested. There shouldn't be any significant logic changes, it's mostly readability improvements.
This commit is contained in:
@@ -28,7 +28,7 @@ func main() {
|
||||
|
||||
domain, err := idna.ToASCII(domain)
|
||||
if err != nil {
|
||||
log.Fatal("IDNA conversion failed: %v", err)
|
||||
log.Fatalf("IDNA conversion failed: %v", err)
|
||||
}
|
||||
|
||||
mxs, err := net.LookupMX(domain)
|
||||
|
||||
Reference in New Issue
Block a user