github.com/zooyer/miskit@v1.0.71/device/interface_other.go (about) 1 //go:build !windows && !darwin && !linux 2 3 /** 4 * @Author: zzy 5 * @Email: zhangzhongyuan@didiglobal.com 6 * @Description: 7 * @File: interface_other.go 8 * @Package: device 9 * @Version: 1.0.0 10 * @Date: 2022/10/5 15:07 11 */ 12 13 package device 14 15 import ( 16 "fmt" 17 "runtime" 18 ) 19 20 func isPhysicalEthernet(index int) (is bool, err error) { 21 return false, fmt.Errorf("os %s not implemented", runtime.GOOS) 22 }