github.com/jaypipes/ghw@v0.21.1/pkg/product/product_stub.go (about)

     1  //go:build !linux && !windows
     2  // +build !linux,!windows
     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 product
    10  
    11  import (
    12  	"runtime"
    13  
    14  	"github.com/pkg/errors"
    15  )
    16  
    17  func (i *Info) load() error {
    18  	return errors.New("productFillInfo not implemented on " + runtime.GOOS)
    19  }