a531a67461
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
18 lines
364 B
Go
18 lines
364 B
Go
// +build !linux,!solaris
|
|
|
|
package kernel
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// Utsname represents the system name structure.
|
|
// It is defined here to make it portable as it is available on linux but not
|
|
// on windows.
|
|
type Utsname struct {
|
|
Release [65]byte
|
|
}
|
|
|
|
func uname() (*Utsname, error) {
|
|
return nil, errors.New("Kernel version detection is available only on linux")
|
|
}
|