update test

This commit is contained in:
aynakeya
2025-07-24 18:51:05 +08:00
parent 765c5c0da7
commit 0dde02e588
2 changed files with 17 additions and 1 deletions

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
.idea
go.sum
cmd/miaosic/miaosic
cmd/miaosic/session.json
cmd/miaosic/session.json
cmd/miaosic/session.bak.json

View File

@@ -1 +1,16 @@
package netease
//func TestNetease_IsLogin(t *testing.T) {
// interfaces, err := net.Interfaces()
// if err != nil {
// fmt.Println("Error getting network interfaces:", err)
// return
// }
//
// for _, iface := range interfaces {
// // Filter out loopback interfaces and interfaces without a hardware address
// if iface.Flags&net.FlagLoopback == 0 && iface.HardwareAddr != nil {
// fmt.Printf("Interface: %s, MAC Address: %s\n", iface.Name, iface.HardwareAddr.String())
// }
// }
//}