# API glossary

Source: https://libtmux.org/en/go/latest/workspace/reference/glossary/

> Kinds, modifiers and package labels in the Go API reference.

## Symbol kinds

Kinds identify declarations in the Go API reference.

### struct

A named Go type shown under the struct badge in this reference.

The underlying type can be a struct, string, function or another Go type. Its declaration determines fields, call syntax and conversion rules.

References: [Go type definitions](https://go.dev/ref/spec#Type_definitions).

### function

A Go function declared at package scope with parameters and result values.

References: [Go function declarations](https://go.dev/ref/spec#Function_declarations).

### method

A Go function with a receiver parameter associating it with a defined type.

A pointer receiver and a value receiver have different method sets; follow the displayed signature.

References: [Go method declarations](https://go.dev/ref/spec#Method_declarations).

### attribute

A Go struct field or package variable in this reference, including exported error values.

References: [Go variable declarations](https://go.dev/ref/spec#Variable_declarations).

### constant

A Go constant value. Typed and untyped constants follow the type and representability rules at their use site.

References: [Go constants](https://go.dev/ref/spec#Constants).

## Package context

Package labels identify where an API is supplied.

### package

The Go module supplying this API. Its importable packages have paths and names distinct from the module dependency identity.

References: [Go modules and packages](https://go.dev/doc/modules/layout).
