Ryhthm game using raylib
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
258 B

package testdata
import (
"encoding/json"
"git.lost.host/meutraa/eotw/internal/game"
)
func GetChart() (*game.Chart, error) {
var chart game.Chart
if err := json.Unmarshal([]byte(data), &chart); nil != err {
return nil, err
}
return &chart, nil
}