019methods

command
v0.0.0-...-db3ee8d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MPL-2.0 Imports: 1 Imported by: 0

README

Methods

Go supports methods declared on struct types.

Methods for structs can be defined for either pointer or value receiver types.

Go automatically handles conversion between values and pointers for method calls. IMPORTANT: You may want to use a pointer receiver type to avoid copying on method calls or to allow the method to mutate the receiving struct.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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