package
Version:
v0.0.0-...-d1da509
Opens a new window with list of versions in this module.
Published: Jul 4, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Friendship is a map of Person.ID to []Person.ID
People is a list of Person
All people returns the list of all Person
FriendsByID looks up the list of friends for a Person
type Person struct {
ID int `json:"id"`
Name string `json:"name"`
Birthday time.Time `json:"birthday"`
}
Person has an ID and Name
PersonByID looks up a Person
Source Files
¶
Click to show internal directories.
Click to hide internal directories.