Go Tutorial: Mini project: grow one program
Two short steps in the same file — your code carries forward so you feel the project grow.
One program, step by step
Most tutorials reset the editor each time. In this one, **your code stays** when you move on: you extend the same `main` package like a tiny project.
You will set an `age`, pass the step, then add ten years and print again — all in one file.
What you'll learn in this Go mini project: grow one program tutorial
This interactive Go tutorial has 2 hands-on exercises. Estimated time: 5 minutes.
- Set an age — Create a variable `age` with `:=` and pick any whole number (for example `28`). Print **one** line that includes that nu…
- Jump ten years ahead — Keep your `age` value as-is. Add a **new** variable `futureAge` with `:=` set to `age + 10`. Print `age` on one line and…
Go Mini project: grow one program concepts covered
- One program, step by step