diff options
Diffstat (limited to 'main/osinfo/osinfo_default.go')
-rw-r--r-- | main/osinfo/osinfo_default.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/osinfo/osinfo_default.go b/main/osinfo/osinfo_default.go new file mode 100644 index 0000000..72d70d3 --- /dev/null +++ b/main/osinfo/osinfo_default.go @@ -0,0 +1,21 @@ +// Unless explicitly stated otherwise all files in this repository are licensed +// under the Apache License Version 2.0. +// This product includes software developed at Datadog (https://www.datadoghq.com/). +// Copyright 2016 Datadog, Inc. + +//go:build !windows && !linux && !darwin && !freebsd +// +build !windows,!linux,!darwin,!freebsd + +package osinfo + +import ( + "runtime" +) + +func osName() string { + return runtime.GOOS +} + +func osVersion() string { + return "unknown" +} |