git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/sysinfo/kernel_darwin.go (about)

     1  //go:build darwin
     2  // +build darwin
     3  
     4  package sysinfo
     5  
     6  // Kernel information.
     7  type Kernel struct {
     8  	Release      string `json:"release,omitempty"`
     9  	Version      string `json:"version,omitempty"`
    10  	Architecture string `json:"architecture,omitempty"`
    11  }
    12  
    13  func (si *SysInfo) getKernelInfo() {
    14  }