diff --git a/15-arrays-project-clock/01-printing-the-digits/README.md b/14-arrays/13-project-clock/01-printing-the-digits/README.md similarity index 100% rename from 15-arrays-project-clock/01-printing-the-digits/README.md rename to 14-arrays/13-project-clock/01-printing-the-digits/README.md diff --git a/15-arrays-project-clock/01-printing-the-digits/main.go b/14-arrays/13-project-clock/01-printing-the-digits/main.go similarity index 100% rename from 15-arrays-project-clock/01-printing-the-digits/main.go rename to 14-arrays/13-project-clock/01-printing-the-digits/main.go diff --git a/15-arrays-project-clock/01-printing-the-digits/solution/main.go b/14-arrays/13-project-clock/01-printing-the-digits/solution/main.go similarity index 100% rename from 15-arrays-project-clock/01-printing-the-digits/solution/main.go rename to 14-arrays/13-project-clock/01-printing-the-digits/solution/main.go diff --git a/15-arrays-project-clock/02-printing-the-clock/README.md b/14-arrays/13-project-clock/02-printing-the-clock/README.md similarity index 100% rename from 15-arrays-project-clock/02-printing-the-clock/README.md rename to 14-arrays/13-project-clock/02-printing-the-clock/README.md diff --git a/15-arrays-project-clock/02-printing-the-clock/main.go b/14-arrays/13-project-clock/02-printing-the-clock/main.go similarity index 100% rename from 15-arrays-project-clock/02-printing-the-clock/main.go rename to 14-arrays/13-project-clock/02-printing-the-clock/main.go diff --git a/15-arrays-project-clock/02-printing-the-clock/solution/main.go b/14-arrays/13-project-clock/02-printing-the-clock/solution/main.go similarity index 100% rename from 15-arrays-project-clock/02-printing-the-clock/solution/main.go rename to 14-arrays/13-project-clock/02-printing-the-clock/solution/main.go diff --git a/15-arrays-project-clock/03-animating-the-clock/README.md b/14-arrays/13-project-clock/03-animating-the-clock/README.md similarity index 100% rename from 15-arrays-project-clock/03-animating-the-clock/README.md rename to 14-arrays/13-project-clock/03-animating-the-clock/README.md diff --git a/15-arrays-project-clock/03-animating-the-clock/main.go b/14-arrays/13-project-clock/03-animating-the-clock/main.go similarity index 100% rename from 15-arrays-project-clock/03-animating-the-clock/main.go rename to 14-arrays/13-project-clock/03-animating-the-clock/main.go diff --git a/15-arrays-project-clock/03-animating-the-clock/solution/main.go b/14-arrays/13-project-clock/03-animating-the-clock/solution/main.go similarity index 100% rename from 15-arrays-project-clock/03-animating-the-clock/solution/main.go rename to 14-arrays/13-project-clock/03-animating-the-clock/solution/main.go diff --git a/15-arrays-project-clock/04-blinking-the-separators/README.md b/14-arrays/13-project-clock/04-blinking-the-separators/README.md similarity index 100% rename from 15-arrays-project-clock/04-blinking-the-separators/README.md rename to 14-arrays/13-project-clock/04-blinking-the-separators/README.md diff --git a/15-arrays-project-clock/04-blinking-the-separators/main.go b/14-arrays/13-project-clock/04-blinking-the-separators/main.go similarity index 100% rename from 15-arrays-project-clock/04-blinking-the-separators/main.go rename to 14-arrays/13-project-clock/04-blinking-the-separators/main.go diff --git a/15-arrays-project-clock/04-blinking-the-separators/solution/main.go b/14-arrays/13-project-clock/04-blinking-the-separators/solution/main.go similarity index 100% rename from 15-arrays-project-clock/04-blinking-the-separators/solution/main.go rename to 14-arrays/13-project-clock/04-blinking-the-separators/solution/main.go diff --git a/15-arrays-project-clock/05-full-annotated-solution/main.go b/14-arrays/13-project-clock/05-full-annotated-solution/main.go similarity index 100% rename from 15-arrays-project-clock/05-full-annotated-solution/main.go rename to 14-arrays/13-project-clock/05-full-annotated-solution/main.go diff --git a/15-arrays-project-clock/README.md b/14-arrays/13-project-clock/README.md similarity index 77% rename from 15-arrays-project-clock/README.md rename to 14-arrays/13-project-clock/README.md index fc63ac6..088ec60 100644 --- a/15-arrays-project-clock/README.md +++ b/14-arrays/13-project-clock/README.md @@ -11,26 +11,26 @@ ## GOALS: -### 👉 [STEP #1 — Print the Digits](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/01-printing-the-digits/) +### 👉 [STEP #1 — Print the Digits](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/01-printing-the-digits/) - [ ] Define a new placeholder type - [ ] Create the digit arrays from 0 to 9 - [ ] Put them into the "digits" array - [ ] Print them side-by-side -### 👉 [STEP #2 — Print the Clock](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/02-printing-the-clock/) +### 👉 [STEP #2 — Print the Clock](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/02-printing-the-clock/) - [ ] Get the current time - [ ] Create the clock array - [ ] Print the clock - [ ] Add the separators -### 👉 [STEP #3 — Animate the Clock](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/03-animating-the-clock/) +### 👉 [STEP #3 — Animate the Clock](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/03-animating-the-clock/) - [ ] Create an infinite loop to update the clock - [ ] Update the clock every second - [ ] Clear the screen before the infinite loop - [ ] Move the cursor to the top-left corner of the screen before each step of the infinite loop -### 👉 [BONUS: STEP #4 — Blink the Clock](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/04-blinking-the-separators/) +### 👉 [BONUS: STEP #4 — Blink the Clock](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/04-blinking-the-separators/) - [ ] Blink the separators -### 👉 [FULL ANNOTATED SOLUTION](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/05-full-annotated-solution/main.go) \ No newline at end of file +### 👉 [FULL ANNOTATED SOLUTION](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/05-full-annotated-solution/main.go) \ No newline at end of file diff --git a/15-arrays-project-clock/exercises/01-refactor/main.go b/14-arrays/13-project-clock/exercises/01-refactor/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/01-refactor/main.go rename to 14-arrays/13-project-clock/exercises/01-refactor/main.go diff --git a/15-arrays-project-clock/exercises/01-refactor/solution/main.go b/14-arrays/13-project-clock/exercises/01-refactor/solution/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/01-refactor/solution/main.go rename to 14-arrays/13-project-clock/exercises/01-refactor/solution/main.go diff --git a/15-arrays-project-clock/exercises/01-refactor/solution/placeholders.go b/14-arrays/13-project-clock/exercises/01-refactor/solution/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/01-refactor/solution/placeholders.go rename to 14-arrays/13-project-clock/exercises/01-refactor/solution/placeholders.go diff --git a/15-arrays-project-clock/exercises/02-alarm/main.go b/14-arrays/13-project-clock/exercises/02-alarm/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/02-alarm/main.go rename to 14-arrays/13-project-clock/exercises/02-alarm/main.go diff --git a/15-arrays-project-clock/exercises/02-alarm/placeholders.go b/14-arrays/13-project-clock/exercises/02-alarm/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/02-alarm/placeholders.go rename to 14-arrays/13-project-clock/exercises/02-alarm/placeholders.go diff --git a/15-arrays-project-clock/exercises/02-alarm/solution/main.go b/14-arrays/13-project-clock/exercises/02-alarm/solution/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/02-alarm/solution/main.go rename to 14-arrays/13-project-clock/exercises/02-alarm/solution/main.go diff --git a/15-arrays-project-clock/exercises/02-alarm/solution/placeholders.go b/14-arrays/13-project-clock/exercises/02-alarm/solution/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/02-alarm/solution/placeholders.go rename to 14-arrays/13-project-clock/exercises/02-alarm/solution/placeholders.go diff --git a/15-arrays-project-clock/exercises/03-split-second/main.go b/14-arrays/13-project-clock/exercises/03-split-second/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/03-split-second/main.go rename to 14-arrays/13-project-clock/exercises/03-split-second/main.go diff --git a/15-arrays-project-clock/exercises/03-split-second/placeholders.go b/14-arrays/13-project-clock/exercises/03-split-second/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/03-split-second/placeholders.go rename to 14-arrays/13-project-clock/exercises/03-split-second/placeholders.go diff --git a/15-arrays-project-clock/exercises/03-split-second/solution/main.go b/14-arrays/13-project-clock/exercises/03-split-second/solution/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/03-split-second/solution/main.go rename to 14-arrays/13-project-clock/exercises/03-split-second/solution/main.go diff --git a/15-arrays-project-clock/exercises/03-split-second/solution/placeholders.go b/14-arrays/13-project-clock/exercises/03-split-second/solution/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/03-split-second/solution/placeholders.go rename to 14-arrays/13-project-clock/exercises/03-split-second/solution/placeholders.go diff --git a/15-arrays-project-clock/exercises/04-ticker/main.go b/14-arrays/13-project-clock/exercises/04-ticker/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/04-ticker/main.go rename to 14-arrays/13-project-clock/exercises/04-ticker/main.go diff --git a/15-arrays-project-clock/exercises/04-ticker/placeholders.go b/14-arrays/13-project-clock/exercises/04-ticker/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/04-ticker/placeholders.go rename to 14-arrays/13-project-clock/exercises/04-ticker/placeholders.go diff --git a/15-arrays-project-clock/exercises/04-ticker/solution/main.go b/14-arrays/13-project-clock/exercises/04-ticker/solution/main.go similarity index 100% rename from 15-arrays-project-clock/exercises/04-ticker/solution/main.go rename to 14-arrays/13-project-clock/exercises/04-ticker/solution/main.go diff --git a/15-arrays-project-clock/exercises/04-ticker/solution/placeholders.go b/14-arrays/13-project-clock/exercises/04-ticker/solution/placeholders.go similarity index 100% rename from 15-arrays-project-clock/exercises/04-ticker/solution/placeholders.go rename to 14-arrays/13-project-clock/exercises/04-ticker/solution/placeholders.go diff --git a/15-arrays-project-clock/exercises/README.md b/14-arrays/13-project-clock/exercises/README.md similarity index 80% rename from 15-arrays-project-clock/exercises/README.md rename to 14-arrays/13-project-clock/exercises/README.md index 6181515..c206544 100644 --- a/15-arrays-project-clock/exercises/README.md +++ b/14-arrays/13-project-clock/exercises/README.md @@ -2,20 +2,20 @@ These exercises will reinforce your knowledge of manipulating arrays. You will prove yourself that you can write easy to maintain Go programs. -1. **[Refactor](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/exercises/01-refactor)** +1. **[Refactor](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/exercises/01-refactor)** In this exercise, you will refactor the project to multiple files by moving all the placeholders. This will make the project easy to maintain down the road. -2. **[Set an Alarm](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/exercises/02-alarm)** +2. **[Set an Alarm](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/exercises/02-alarm)** You will print " ALARM! " every 10 seconds. -3. **[Split Second](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/exercises/03-split-second)** +3. **[Split Second](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/exercises/03-split-second)** You will display the split second in the clock, you will need to update the clock every 1/10th of a second instead of every second. -4. **[Ticker](https://github.com/inancgumus/learngo/tree/master/15-arrays-project-clock/exercises/04-ticker)** +4. **[Ticker](https://github.com/inancgumus/learngo/tree/master/14-arrays/13-project-clock/exercises/04-ticker)** This is an HARD EXERCISE. You will slide the clock animation from right-to-left. After this exercise, you will truly feel that you've mastered everything you've learned so far. \ No newline at end of file diff --git a/16-slices/01-slices-vs-arrays/main.go b/15-slices/01-slices-vs-arrays/main.go similarity index 100% rename from 16-slices/01-slices-vs-arrays/main.go rename to 15-slices/01-slices-vs-arrays/main.go diff --git a/16-slices/02-slices-vs-arrays/main.go b/15-slices/02-slices-vs-arrays/main.go similarity index 100% rename from 16-slices/02-slices-vs-arrays/main.go rename to 15-slices/02-slices-vs-arrays/main.go diff --git a/16-slices/03-slices-vs-arrays-examples/main.go b/15-slices/03-slices-vs-arrays-examples/main.go similarity index 100% rename from 16-slices/03-slices-vs-arrays-examples/main.go rename to 15-slices/03-slices-vs-arrays-examples/main.go diff --git a/16-slices/04-slices-vs-arrays-unique-nums/01-with-arrays/main.go b/15-slices/04-slices-vs-arrays-unique-nums/01-with-arrays/main.go similarity index 100% rename from 16-slices/04-slices-vs-arrays-unique-nums/01-with-arrays/main.go rename to 15-slices/04-slices-vs-arrays-unique-nums/01-with-arrays/main.go diff --git a/16-slices/04-slices-vs-arrays-unique-nums/02-with-slices/main.go b/15-slices/04-slices-vs-arrays-unique-nums/02-with-slices/main.go similarity index 100% rename from 16-slices/04-slices-vs-arrays-unique-nums/02-with-slices/main.go rename to 15-slices/04-slices-vs-arrays-unique-nums/02-with-slices/main.go diff --git a/16-slices/README.md b/15-slices/README.md similarity index 100% rename from 16-slices/README.md rename to 15-slices/README.md diff --git a/16-slices/exercises/01-declare-nil/main.go b/15-slices/exercises/01-declare-nil/main.go similarity index 100% rename from 16-slices/exercises/01-declare-nil/main.go rename to 15-slices/exercises/01-declare-nil/main.go diff --git a/16-slices/exercises/01-declare-nil/solution/main.go b/15-slices/exercises/01-declare-nil/solution/main.go similarity index 100% rename from 16-slices/exercises/01-declare-nil/solution/main.go rename to 15-slices/exercises/01-declare-nil/solution/main.go diff --git a/16-slices/exercises/02-empty/main.go b/15-slices/exercises/02-empty/main.go similarity index 100% rename from 16-slices/exercises/02-empty/main.go rename to 15-slices/exercises/02-empty/main.go diff --git a/16-slices/exercises/02-empty/solution/main.go b/15-slices/exercises/02-empty/solution/main.go similarity index 100% rename from 16-slices/exercises/02-empty/solution/main.go rename to 15-slices/exercises/02-empty/solution/main.go diff --git a/16-slices/exercises/03-slice-literal/main.go b/15-slices/exercises/03-slice-literal/main.go similarity index 100% rename from 16-slices/exercises/03-slice-literal/main.go rename to 15-slices/exercises/03-slice-literal/main.go diff --git a/16-slices/exercises/03-slice-literal/solution/main.go b/15-slices/exercises/03-slice-literal/solution/main.go similarity index 100% rename from 16-slices/exercises/03-slice-literal/solution/main.go rename to 15-slices/exercises/03-slice-literal/solution/main.go diff --git a/16-slices/exercises/04-declare-arrays-as-slices/main.go b/15-slices/exercises/04-declare-arrays-as-slices/main.go similarity index 100% rename from 16-slices/exercises/04-declare-arrays-as-slices/main.go rename to 15-slices/exercises/04-declare-arrays-as-slices/main.go diff --git a/16-slices/exercises/04-declare-arrays-as-slices/solution/main.go b/15-slices/exercises/04-declare-arrays-as-slices/solution/main.go similarity index 100% rename from 16-slices/exercises/04-declare-arrays-as-slices/solution/main.go rename to 15-slices/exercises/04-declare-arrays-as-slices/solution/main.go diff --git a/16-slices/exercises/05-fix-the-problems/main.go b/15-slices/exercises/05-fix-the-problems/main.go similarity index 100% rename from 16-slices/exercises/05-fix-the-problems/main.go rename to 15-slices/exercises/05-fix-the-problems/main.go diff --git a/16-slices/exercises/05-fix-the-problems/solution/main.go b/15-slices/exercises/05-fix-the-problems/solution/main.go similarity index 100% rename from 16-slices/exercises/05-fix-the-problems/solution/main.go rename to 15-slices/exercises/05-fix-the-problems/solution/main.go diff --git a/16-slices/exercises/06-compare-the-slices/main.go b/15-slices/exercises/06-compare-the-slices/main.go similarity index 100% rename from 16-slices/exercises/06-compare-the-slices/main.go rename to 15-slices/exercises/06-compare-the-slices/main.go diff --git a/16-slices/exercises/06-compare-the-slices/solution/main.go b/15-slices/exercises/06-compare-the-slices/solution/main.go similarity index 100% rename from 16-slices/exercises/06-compare-the-slices/solution/main.go rename to 15-slices/exercises/06-compare-the-slices/solution/main.go diff --git a/16-slices/exercises/README.md b/15-slices/exercises/README.md similarity index 58% rename from 16-slices/exercises/README.md rename to 15-slices/exercises/README.md index 77f2210..f9aa8ab 100644 --- a/16-slices/exercises/README.md +++ b/15-slices/exercises/README.md @@ -2,14 +2,14 @@ ## Exercises Level I - Basics — Warm-Up -1. **[Declare nil slices](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/01-declare-nil)** +1. **[Declare nil slices](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/01-declare-nil)** -2. **[Assign empty slices](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/02-empty)** +2. **[Assign empty slices](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/02-empty)** -3. **[Assign slice literals](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/03-slice-literal)** +3. **[Assign slice literals](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/03-slice-literal)** -4. **[Declare the arrays as slices](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/04-declare-arrays-as-slices)** +4. **[Declare the arrays as slices](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/04-declare-arrays-as-slices)** -5. **[Fix the Problems](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/05-fix-the-problems)** +5. **[Fix the Problems](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/05-fix-the-problems)** -6. **[Compare the slices](https://github.com/inancgumus/learngo/tree/master/16-slices/exercises/06-compare-the-slices)** \ No newline at end of file +6. **[Compare the slices](https://github.com/inancgumus/learngo/tree/master/15-slices/exercises/06-compare-the-slices)** \ No newline at end of file diff --git a/16-slices/questions/1-slices-vs-arrays.md b/15-slices/questions/1-slices-vs-arrays.md similarity index 100% rename from 16-slices/questions/1-slices-vs-arrays.md rename to 15-slices/questions/1-slices-vs-arrays.md diff --git a/16-slices/questions/README.md b/15-slices/questions/README.md similarity index 100% rename from 16-slices/questions/README.md rename to 15-slices/questions/README.md