Compact Disc plus Graphics (Karoke file) format library for Go (Golang).
The example below will load a file and print the first instruction packet
file, _ := os.Open("path/to/cdg_file.cdg")
cdgFile := cdgo.NewFile(file)
packet, _ := cdgFile.NextPacket()
packet.Print()
go run cmd/cdg2images/main.go test.cdg
go run cmd/cdg2text/main.go test.cdg
https://jbum.com/cdg_revealed.html
https://goughlui.com/2019/03/31/tech-flashback-the-cdgraphics-format-cdg/