Skip to content

Commit 44f1ab1

Browse files
committed
start calendarParser.go
1 parent cad0192 commit 44f1ab1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

parser/calendarParser.go

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package parser
2+
3+
import (
4+
"encoding/json"
5+
"fmt"
6+
"log"
7+
"os"
8+
"strings"
9+
10+
"github.com/UTDNebula/api-tools/utils"
11+
"github.com/UTDNebula/nebula-api/api/schema"
12+
)
13+
14+
func ParseCalendar(inDir string, outDir string) {
15+
16+
calendarFile, err := os.ReadFile(inDir + "/events.json")
17+
if err != nil {
18+
panic(err)
19+
}
20+
21+
var result []schema.MultiBuildingEvents[schema.Event]
22+
log.Printf("Test")
23+
}

0 commit comments

Comments
 (0)