Skip to content

Commit 73e9450

Browse files
committed
feat(exercises): switch catalog.yaml to directory-based catalog loader
1 parent 3484cee commit 73e9450

62 files changed

Lines changed: 667 additions & 396 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 01_hello
2+
title: Hello, Go!
3+
test_regex: ".*"
4+
hints:
5+
- Implement Hello() to return 'Hello, Go!'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 02_values
2+
title: Values
3+
test_regex: ".*"
4+
hints:
5+
- Use fmt.Sprintf to format values.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 03_variables
2+
title: Variables
3+
test_regex: ".*"
4+
hints:
5+
- Use short declarations (:=) and return multiple values.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 04_constants
2+
title: Constants
3+
test_regex: ".*"
4+
hints:
5+
- Use math.Pi and constant expressions.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 05_for
2+
title: For
3+
test_regex: ".*"
4+
hints:
5+
- Accumulate a sum with a for loop.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 06_if_else
2+
title: If/Else
3+
test_regex: ".*"
4+
hints:
5+
- Handle negative, zero, and positive cases.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 07_switch
2+
title: Switch
3+
test_regex: ".*"
4+
hints:
5+
- Match multiple cases for weekend days.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 08_arrays
2+
title: Arrays
3+
test_regex: ".*"
4+
hints:
5+
- Iterate with range over a fixed-size array.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 09_slices
2+
title: Slices
3+
test_regex: ".*"
4+
hints:
5+
- Append values then compute a sum.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- slug: 10_maps
2+
title: Maps
3+
test_regex: ".*"
4+
hints:
5+
- Use strings.Fields and map[string]int for word counts.

0 commit comments

Comments
 (0)