examples

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var People = []Person{
	{"John", "Doe"},
	{"Jane", "Doe"},
	{"John", "Smith"},
}

Functions

This section is empty.

Types

type Person

type Person struct {
	FirstName string
	LastName  string
}

func (Person) Compare

func (p Person) Compare(other Person) int

func (Person) String

func (p Person) String() string

Jump to

Keyboard shortcuts

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