Skip to content

Commit

Permalink
[host]darwin: remove GPL code
Browse files Browse the repository at this point in the history
  • Loading branch information
shirou committed Apr 27, 2018
1 parent 63047d7 commit c95755e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1,023 deletions.
8 changes: 8 additions & 0 deletions host/host_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,11 @@ func KernelVersionWithContext(ctx context.Context) (string, error) {
_, _, version, err := PlatformInformation()
return version, err
}

func SensorsTemperatures() ([]TemperatureStat, error) {
return SensorsTemperaturesWithContext(context.Background())
}

func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
return []TemperatureStat{}, common.ErrNotImplementedError
}
51 changes: 0 additions & 51 deletions host/host_darwin_cgo.go

This file was deleted.

18 changes: 0 additions & 18 deletions host/host_darwin_nocgo.go

This file was deleted.

Loading

0 comments on commit c95755e

Please sign in to comment.