16 lines
220 B
Go
16 lines
220 B
Go
|
// +build !linux !amd64
|
||
|
|
||
|
package kernel
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
type Utsname struct {
|
||
|
Release [65]byte
|
||
|
}
|
||
|
|
||
|
func uname() (*Utsname, error) {
|
||
|
return nil, errors.New("Kernel version detection is available only on linux")
|
||
|
}
|