github.com/jaypipes/ghw@v0.21.1/pkg/bios/bios_linux.go (about) 1 // Use and distribution licensed under the Apache license version 2. 2 // 3 // See the COPYING file in the root project directory for full text. 4 // 5 6 package bios 7 8 import "github.com/jaypipes/ghw/pkg/linuxdmi" 9 10 func (i *Info) load() error { 11 i.Vendor = linuxdmi.Item(i.ctx, "bios_vendor") 12 i.Version = linuxdmi.Item(i.ctx, "bios_version") 13 i.Date = linuxdmi.Item(i.ctx, "bios_date") 14 15 return nil 16 }