This commit is contained in:
zomo
2025-12-18 01:26:45 -06:00
commit 658ad890f5
8 changed files with 474 additions and 0 deletions

22
main.go Normal file
View File

@@ -0,0 +1,22 @@
package main
const BASEPATH = "./rooms"
const OUTPATH = "./rooms_out"
const ROOM_PER_NIGHT = 4
func main() {
if err := mainErr(); err != nil {
panic(err)
}
}
func mainErr() error {
roomFolders, err := LoadRoomFolders(BASEPATH)
if err != nil {
return err
}
AssignExtraRooms(roomFolders, ROOM_PER_NIGHT)
return CopyOut(roomFolders, OUTPATH)
}