286bd69270
Signed-off-by: Andrew Page <admwiggin@gmail.com>
15 lines
213 B
Go
15 lines
213 B
Go
// +build !linux
|
|
|
|
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")
|
|
}
|