model

package module
v0.0.0-...-439219b Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 0 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rank

func Rank(i int) *rank

Types

type Ranks

type Ranks struct {
	All     *rank `json:"all,omitempty"`            // min 0
	Good    *rank `json:"goodFriend,omitempty"`     // min 1
	Great   *rank `json:"greatFriend,omitempty"`    // min 2
	Ultra   *rank `json:"ultraFriend,omitempty"`    // min 3
	Weather *rank `json:"weatherBoosted,omitempty"` // min 4
	Best    *rank `json:"bestFriend,omitempty"`     // min 5
	Hatched *rank `json:"hatched,omitempty"`        // min 10
	Lucky   *rank `json:"luckyFriend,omitempty"`    // min 12
}

type Spread

type Spread struct {
	Ranks      Ranks   `json:"ranks"`
	IVs        string  `json:"ivs"`
	Level      float64 `json:"level"`
	CP         int     `json:"cp"`
	Product    float64 `json:"statProduct"`
	Percentage float64 `json:"percent"`
	Stats      Stats   `json:"stats"`
}

type Stats

type Stats struct {
	Attack  float64 `json:"atk"`
	Defense float64 `json:"def"`
	HP      float64 `json:"hp"`
}

Jump to

Keyboard shortcuts

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