2014-01-30 22:41:10 +00:00
|
|
|
// +build: !linux !amd64
|
2013-05-16 00:40:47 +00:00
|
|
|
package utils
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2013-05-19 01:55:59 +00:00
|
|
|
type Utsname struct {
|
|
|
|
Release [65]byte
|
|
|
|
}
|
|
|
|
|
|
|
|
func uname() (*Utsname, error) {
|
2014-01-30 22:41:10 +00:00
|
|
|
return nil, errors.New("Kernel version detection is available only on linux")
|
2013-05-16 00:40:47 +00:00
|
|
|
}
|