Repo metadata
Call-to-Action buttons
The N43 library parser is really simple, just load the lines from the N43 file into a new parser and parse it. After that, you'll have a nice structure with all the needed data accessible.
package main
import (
"os"
"log"
"string"
"github.com/Xumeiquer/n43"
)
func main() {
data, err := os.ReadFile(fin)
if err != nil {
log.Fatal(err.Error())
}
dataLines := strings.Split(string(data), "\n")
parser := n43.NewParser(dataLines, ops)
res, err := parser.Parse()
if err != nil {
log.Fatal(err.Error())
}
printOutput(*res)
}
Released under MIT by @Xumeiquer.