Kaynağa Gözat

处理获取机器码系统兼容性

lxg 3 yıl önce
ebeveyn
işleme
208559a2fd

+ 1 - 1
helper/machineid/id_linux.go

@@ -6,8 +6,8 @@ package machineid
 import (
 	"crypto/md5"
 	"encoding/hex"
-	"net"
 	"io/ioutil"
+	"net"
 )
 
 func getMachineID() (s string, err error) {

+ 1 - 0
helper/machineid/id_windows.go

@@ -1,3 +1,4 @@
+//go:build windows
 // +build windows
 
 package machineid