pragma

package
v2.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoNotCopy

type DoNotCopy struct{}

DoNotCopy may be added to structs which must not be copied after first use.

See https://golang.org/issues/8005#issuecomment-190753527 for details

func (*DoNotCopy) Lock

func (*DoNotCopy) Lock()

Lock is a no-op used by -copylocks checker from `go vet`.

func (*DoNotCopy) Unlock

func (*DoNotCopy) Unlock()

Unlock is a no-op used by -copylocks checker from `go vet`.

Jump to

Keyboard shortcuts

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