doc

package
v2.0.0-...-c472316 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package doc provides the constant can be used in example test files. Most of the example tests in this repo are fail to run on the GoDoc website because of the missing variables. In order to avoid confusing users, these tests should be unplayable on the GoDoc website, and this can be achieved by leveraging a dot import in the test files. Reference: https://pkg.go.dev/go/doc#Example

Index

Constants

View Source
const ExampleUnplayable = true

ExampleUnplayable is used in examples test files in order to make example tests unplayable.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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