Versions in this module Expand all Collapse all v1 v1.0.3 Nov 6, 2022retracted v1.0.2 Nov 6, 2022retracted v0 v0.6.1 Jul 23, 2023 v0.6.0 Jul 23, 2023 Changes in this version + const ModeOsu type Format + Events []Event + HitObjects []HitObject + TimingPoints []TimingPoint + func NewFormat(r io.Reader) (f *Format, err error) + func (f Format) Background() (Event, bool) + func (f Format) Video() (Event, bool) type HitObject + func (h HitObject) SampleFilename() string + func (ho HitObject) IsBig() bool + func (ho HitObject) IsDon() bool + func (ho HitObject) IsKat() bool + type Point = [2]int v0.3.1 Nov 28, 2022 v0.2.4 Nov 7, 2022 v0.2.3 Nov 6, 2022 v0.2.2 Oct 24, 2022 v0.2.1 Oct 18, 2022 Changes in this version + const ComboColourSkip1 + const ComboColourSkip2 + const ComboColourSkip3 + const ComboMask + const HitSoundClap + const HitSoundFinish + const HitSoundNormal + const HitSoundWhistle + const HitTypeHoldNote + const HitTypeNote + const HitTypeSlider + const HitTypeSpinner + const ModeCatch + const ModeDefault + const ModeMania + const ModeStandard + const ModeTaiko + const NewCombo + const TaikoBigMask + const TaikoKatMask + var HitSounds = []string + var SampleSets = []string + var YetDetermined = "?" + func IsBig(ho HitObject) bool + func IsDon(ho HitObject) bool + func IsKat(ho HitObject) bool + func Mode(path string) (int, int) + type Colours struct + Combos [8]color.RGBA + SliderBorder color.RGBA + SliderTrackOverride color.RGBA + type Difficulty struct + ApproachRate float64 + CircleSize float64 + HPDrainRate float64 + OverallDifficulty float64 + SliderMultiplier float64 + SliderTickRate float64 + type Editor struct + BeatDivisor float64 + Bookmarks []int + DistanceSpacing float64 + GridSize int + TimelineZoom float64 + type Event struct + EndTime int + Filename string + StartTime int + Type string + XOffset int + YOffset int + type Events []Event + func (es Events) Background() (Event, bool) + func (es Events) Video() (Event, bool) + type Format struct + FormatVersion int + func Parse(dat []byte) (*Format, error) + type General struct + AlwaysShowPlayfield bool + AudioFilename string + AudioHash string + AudioLeadIn int + Countdown int + CountdownOffset int + EpilepsyWarning bool + LetterboxInBreaks bool + Mode int + OverlayPosition string + PreviewTime int + SampleSet string + SamplesMatchPlaybackRate bool + SkinPreference string + SpecialStyle bool + StackLeniency float64 + StoryFireInFront bool + UseSkinSprites bool + WidescreenStoryboard bool + type HitObject struct + EndTime int + HitSample HitSample + HitSound int + NoteType int + SliderParams SliderParams + Time int + X int + Y int + func (h HitObject) SliderDuration(speed float64) int + func (h HitObject) SliderLength() float64 + func (ho HitObject) Column(columnCount int) int + type HitObjects []HitObject + type HitSample struct + AdditionSet int + Filename string + Index int + NormalSet int + Volume int + type Metadata struct + Artist string + ArtistUnicode string + BeatmapID int + BeatmapSetID int + Creator string + Source string + Tags []string + Title string + TitleUnicode string + Version string + type SliderParams struct + CurvePoints [][2]int + CurveType string + EdgeSets [][2]int + EdgeSounds []int + Length float64 + Slides int + type TimingPoint struct + BeatLength float64 + Effects int + Meter int + SampleIndex int + SampleSet int + Time int + Uninherited bool + Volume int + func (tp TimingPoint) BPM() float64 + func (tp TimingPoint) BeatLengthScale() float64 + func (tp TimingPoint) IsFirstBarOmitted() bool + func (tp TimingPoint) IsInherited() bool + func (tp TimingPoint) IsKiai() bool + type TimingPoints []TimingPoint