nocopy

package
v0.0.0-...-3c30a16 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2019 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoCopy

type NoCopy struct{}

NoCopy is the type you should embed as a value (not as a pointer to it) in a type you need to make checkable for go vet so it can see that you should not copy the type anywhere

func (*NoCopy) Lock

func (*NoCopy) Lock()

Lock is an empty method that shows go vet that developer should not copy the type where NoCopy was embedded

Jump to

Keyboard shortcuts

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