platform

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Overview

Package platform allows you to obtain the platform name. We use this information to annotate measurements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

Name returns the platform name. The returned value is one of:

1. "android"

2. "ios"

3. "linux"

5. "macos"

4. "windows"

5. "freebsd"

6. "openbsd"

7. "unknown"

You should use this name to annotate measurements.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL