Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 362 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 362 Bytes

gomanuf

通过mac地址计算设备厂家信息

安装[Installation]

go get -u github.com/timest/gomanuf

使用[Usage]

import (
    manuf "github.com/timest/gomanuf"
    "log"
)

m1 := manuf.Search("18:65:90:dc:c0:cb")
log.Print(m1) //Apple, Inc.

m2 := manuf.Search("00:ec:0a:ff:b7:27")
log.Print(m2) // Xiaomi Communications Co Ltd