pet

package
v0.0.0-...-b0dcb70 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExperienceToLevel

func ExperienceToLevel(level int) int

Types

type Pet

type Pet struct {
	Name    string
	Species string
	Level   int
	Xp      int
	Mood    string
	// contains filtered or unexported fields
}

func Create

func Create(username, petname, species string) (Pet, error)

func (*Pet) Age

func (pet *Pet) Age() string

func (*Pet) SyncWithGit

func (pet *Pet) SyncWithGit() error

Jump to

Keyboard shortcuts

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