location, _ := time.LoadLocation("Asia/Tokyo") event := struct { ID string `json:"id"` Name string `json:"name"` StartsAt time.Time `json:"starts_at"` CreatedAt time.Time `json:"created_at"` }{ ID: "1", Name: "フロントエンドカンファレンス北海道2025", StartsAt: time.Date(2025, 9, 6, 10, 0, 0, 0, location), CreatedAt: time.Now().UTC(), //ナノ秒精度のマシンUTC日時 } w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(event) } フロントエンドカンファレンス北海道2025 LT @8beeeaaat 15