sprout

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 6 Imported by: 0

README

Ginger-Sprout-Go

Ginger-Sprout-Go is a middleware that connects the kotlin library Ginger-Sprout and Go projects

java executable must be accessible, i.e. in path variable

Documentation

Overview

Package sprout connects the ginger-sprout

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BMSModel

type BMSModel struct {
	FileName      string  `json:"fileName"`
	Artist        string  `json:"artist"`
	BackBMP       string  `json:"backBMP"`
	Banner        string  `json:"banner"`
	Base          int     `json:"base"`
	BPM           float64 `json:"bpm"`
	Difficulty    int     `json:"difficulty"`
	Genre         string  `json:"genre"`
	JudgeRank     int     `json:"judgeRank"`
	JudgeRankType string  `json:"judgeRankType"`
	LnMode        string  `json:"lnMode"`
	LnObj         int     `json:"lnObj"`
	MaxBPM        float64 `json:"maxBPM"`
	MinBPM        float64 `json:"minBPM"`
	MD5           string  `json:"md5"`
	Mode          string  `json:"mode"`
	PlayLevel     string  `json:"playLevel"`
	Player        int     `json:"player"`
	Preview       string  `json:"preview"`
	SHA256        string  `json:"sha256"`
	StageFile     string  `json:"stageFile"`
	SubArtist     string  `json:"subArtist"`
	SubTitle      string  `json:"subTitle"`
	Title         string  `json:"title"`
	Total         float64 `json:"total"`
	TotalType     string  `json:"totalType"`
	Length        int     `json:"length"`
	Notes         int     `json:"notes"`
}

func Parse

func Parse(fp string) ([]BMSModel, error)

Parse reads a specified file and tries to parse it. The file can be either a standalone bms file or an archive. The result is an array of bms models, which is clearly the parse results.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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