github.com/jaypipes/ghw@v0.21.1/pkg/usb/usb_stub.go (about)

     1  //go:build !linux
     2  // +build !linux
     3  
     4  // Use and distribution licensed under the Apache license version 2.
     5  //
     6  // See the COPYING file in the root project directory for full text.
     7  //
     8  
     9  package usb
    10  
    11  import (
    12  	"runtime"
    13  
    14  	"errors"
    15  )
    16  
    17  func (i *Info) load() error {
    18  	return errors.New("usb load not implemented on " + runtime.GOOS)
    19  }