github.com/blueinnovationsgroup/can-go@v0.0.0-20230518195432-d0567cda0028/pkg/socketcan/dialraw_others.go (about)

     1  //go:build !linux || !go1.12
     2  
     3  package socketcan
     4  
     5  import (
     6  	"fmt"
     7  	"net"
     8  	"runtime"
     9  )
    10  
    11  func dialRaw(interfaceName string) (net.Conn, error) {
    12  	return nil, fmt.Errorf("SocketCAN not supported on OS %s and runtime %s", runtime.GOOS, runtime.Version())
    13  }