1234567891011121314151617181920212223 |
- package main
- import "fmt"
- func main() {
- /*SetupApp()
- SetupHome()
- HOME.Show()
- APP.Run()*/
- p := Parser{}
- root, err := p.Load("Test Dummy.txt")
- if err != nil {
- fmt.Println("parser.load", err)
- return
- }
- me := Profile{}
- err = me.Parse(root)
- if err != nil {
- fmt.Println("profile.parse", err)
- return
- }
- fmt.Printf("%#v\n", me)
- }
|