osinfo_default.go 468 B

123456789101112131415161718192021
  1. // Unless explicitly stated otherwise all files in this repository are licensed
  2. // under the Apache License Version 2.0.
  3. // This product includes software developed at Datadog (https://www.datadoghq.com/).
  4. // Copyright 2016 Datadog, Inc.
  5. //go:build !windows && !linux && !darwin && !freebsd
  6. // +build !windows,!linux,!darwin,!freebsd
  7. package osinfo
  8. import (
  9. "runtime"
  10. )
  11. func osName() string {
  12. return runtime.GOOS
  13. }
  14. func osVersion() string {
  15. return "unknown"
  16. }