From d6de3b7c31fec172b17910171380dfe7acab2cb0 Mon Sep 17 00:00:00 2001 From: Kamaleshwar Date: Fri, 16 Feb 2024 20:52:09 +0100 Subject: [PATCH] removed unnecessary file --- cmd/booking/list | 186 -------------------------------------------- cmd/booking/main.go | 59 -------------- 2 files changed, 245 deletions(-) delete mode 100644 cmd/booking/list delete mode 100644 cmd/booking/main.go diff --git a/cmd/booking/list b/cmd/booking/list deleted file mode 100644 index b1c732c..0000000 --- a/cmd/booking/list +++ /dev/null @@ -1,186 +0,0 @@ -range: 76 - 104 -076 -077 -078 -079 -080 -081 -082 -083 -084 -085 -086 -087 -088 -089 -090 -091 -092 -093 -094 -095 -096 -097 -098 -099 -100 -101 -102 -103 -104 -range: 81 - 84 -081 -082 -083 -084 -range: 85 - 92 -085 -086 -087 -088 -089 -090 -091 -092 -range: 88 - 96 -088 -089 -090 -091 -092 -093 -094 -095 -096 -range: 92 - 100 -092 -093 -094 -095 -096 -097 -098 -099 -100 -range: 93 - 104 -093 -094 -095 -096 -097 -098 -099 -100 -101 -102 -103 -104 -104 -range: 153 - 156 -153 -154 -155 -156 -range: 153 - 189 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -range: 156 - 164 -156 -157 -158 -159 -160 -161 -162 -163 -164 -range: 161 - 168 -161 -162 -163 -164 -165 -166 -167 -168 -range: 161 - 168 -161 -162 -163 -164 -165 -166 -167 -168 -range: 177 - 184 -177 -178 -179 -180 -181 -182 -183 -184 -177 -range: 177 - 192 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -range: 185 - 192 -185 -186 -187 -188 -189 -190 -191 -192 -197 diff --git a/cmd/booking/main.go b/cmd/booking/main.go deleted file mode 100644 index c5b2354..0000000 --- a/cmd/booking/main.go +++ /dev/null @@ -1,59 +0,0 @@ -package main - -import ( - "fmt" - "strconv" - "strings" -) - -func main() { - adtechTeams := map[string]struct{}{ - "081-084": {}, - "085-092": {}, - "092-100": {}, - "153-156": {}, - "161-168": {}, - "177-184": {}, - } - - firstFloorBTeamBookings := []string{ - "076-104", - "081-084", - "085-092", - "088-096", - "092-100", - "093-104", - "104", - "153-156", - "153-189", - "156-164", - "161-168", - "161-168", - "177-184", - "177-184 ", - "177-192", - "185-192", - "197-184", - } - - for _, srange := range firstFloorBTeamBookings { - parts := strings.Split(srange, "-") - start, _ := strconv.Atoi(parts[0]) - end := -1 - if len(parts) == 2 { - end, _ = strconv.Atoi(parts[1]) - } - if end > start { - fmt.Printf("range: %d - %d\n", start, end) - for start <= end { - fmt.Printf("%03d\n", start) - start++ - } - } else { - fmt.Println(start) - } - } - - _ = firstFloorBTeamBookings - _ = adtechTeams -}