Documentation
¶
Overview ¶
Package ocl allows you to do calculation of osu! levels in Go.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLevel ¶
GetLevel calculates what's the level of a score.
Example ¶
fmt.Println(GetLevel(26274008441))
Output: 99
func GetLevelPrecise ¶
GetLevelPrecise gets a precise level, meaning that decimal digits are included. There isn't any maximum level.
func GetLevelWithMax ¶
GetLevelWithMax calculates what's the level of a score, having a maximum level. Deprecated, use GetLevel.
func GetRequiredScoreForLevel ¶
GetRequiredScoreForLevel retrieves the score required to reach a certain level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.