1
0
mirror of https://github.com/garraflavatra/go-fmp.git synced 2025-07-17 03:34:05 +00:00

Debug prints

This commit is contained in:
2025-06-14 14:24:35 +02:00
parent a7bde87c6f
commit d9ffc3e573
5 changed files with 18 additions and 31 deletions

View File

@ -5,6 +5,10 @@ import (
"os"
)
func debug(str string, args ...interface{}) {
fmt.Printf(str+"\n", args...)
}
func (f *FmpFile) ToDebugFile(fname string) {
f_sectors, err := os.Create(fname + ".sectors")
if err != nil {