github.com/jshiv/can-go@v0.2.1-0.20210224011015-069e90e90bdf/pkg/socketcan/dialraw_others.go (about) 1 // +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 }