From 64e71762675382db6c5d2a9dc0a345e8152e4248 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 21 May 2026 22:13:17 +0200 Subject: [PATCH] Apply gofmt to timetable.go Co-Authored-By: Claude Opus 4.7 (1M context) --- school-service/internal/models/timetable.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/school-service/internal/models/timetable.go b/school-service/internal/models/timetable.go index c580674..450e15f 100644 --- a/school-service/internal/models/timetable.go +++ b/school-service/internal/models/timetable.go @@ -47,14 +47,14 @@ type TimetableRoom struct { // TimetableSubject is a school-wide subject for timetabling. type TimetableSubject struct { - ID uuid.UUID `json:"id" db:"id"` - CreatedByUserID uuid.UUID `json:"created_by_user_id" db:"created_by_user_id"` - Name string `json:"name" db:"name"` - ShortCode string `json:"short_code" db:"short_code"` - Color string `json:"color,omitempty" db:"color"` - IsMainSubject bool `json:"is_main_subject" db:"is_main_subject"` - RequiredRoomType string `json:"required_room_type,omitempty" db:"required_room_type"` - CreatedAt time.Time `json:"created_at" db:"created_at"` + ID uuid.UUID `json:"id" db:"id"` + CreatedByUserID uuid.UUID `json:"created_by_user_id" db:"created_by_user_id"` + Name string `json:"name" db:"name"` + ShortCode string `json:"short_code" db:"short_code"` + Color string `json:"color,omitempty" db:"color"` + IsMainSubject bool `json:"is_main_subject" db:"is_main_subject"` + RequiredRoomType string `json:"required_room_type,omitempty" db:"required_room_type"` + CreatedAt time.Time `json:"created_at" db:"created_at"` } // TimetableTeacher is a teacher as a schedulable resource.