Skip to content

Commit

Permalink
add more metadata to module 1
Browse files Browse the repository at this point in the history
  • Loading branch information
meaghanlewis committed Nov 9, 2020
1 parent 842ae6c commit 5c1bc22
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 77 deletions.
2 changes: 1 addition & 1 deletion get-started-with-go/0-introduction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ metadata:
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Introduction
durationInMinutes:
durationInMinutes: 1
content: |
[!include[](includes/0-introduction.md)]
4 changes: 2 additions & 2 deletions get-started-with-go/1-what-is-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
uid:
metadata:
title: What is Go
description:
description: Learn about the history and use cases of the Go programming language.
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: What is Go
durationInMinutes:
durationInMinutes: 2
content: |
[!include[](includes/1-what-is-go.md)]
4 changes: 2 additions & 2 deletions get-started-with-go/2-install-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
uid:
metadata:
title: Exercise - Install Go
description:
description: Install Go for your operating system.
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
zone_pivot_groups: os
title: Exercise - Install Go
durationInMinutes:
durationInMinutes: 5
content: |
[!include[](includes/2-install-go.md)]
10 changes: 5 additions & 5 deletions get-started-with-go/3-explore-playground.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
### YamlMime:ModuleUnit
uid:
metadata:
title: Exercise - Install Go
description:
title: Exercise - Explore the Go Playground
description: Learn how to use the Go Playground by running your first program.
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Exercise - Install Go
durationInMinutes:
title: Exercise - Explore the Go Playground
durationInMinutes: 3
content: |
[!include[](includes/2-install-go.md)]
[!include[](includes/3-explore-playground.md)]
10 changes: 5 additions & 5 deletions get-started-with-go/4-install-vs-code.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
### YamlMime:ModuleUnit
uid:
metadata:
title: Exercise - Install Go
description:
title: Exercise - Install VS Code and the Go Extension
description: Finish setting up your development environment with installing VS Code and the Go language extension.
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Exercise - Install Go
durationInMinutes:
title: Exercise - Install VS Code and the Go Extension
durationInMinutes: 6
content: |
[!include[](includes/2-install-go.md)]
[!include[](includes/4-install-vs-code.md)]
6 changes: 3 additions & 3 deletions get-started-with-go/5-hello-world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
uid:
metadata:
title: Exercise - Hello World
description:
description: Write your first Go program in VS Code.
ms.date:
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Exercise - Hello World
durationInMinutes:
durationInMinutes: 5
content: |
[!include[](includes/3-hello-world.md)]
[!include[](includes/5-hello-world.md)]
43 changes: 20 additions & 23 deletions get-started-with-go/7-summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,51 +9,48 @@ metadata:
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: Summary
durationInMinutes:
durationInMinutes: 1
content: |
[!include[](includes/5-summary.md)]
[!include[](includes/7-summary.md)]
quiz:
title: Check your knowledge
questions:
- content: "Question1"
- content: " What’s the single command for executing and compiling Go apps?"
choices:
- content: "Answer1"
isCorrect: false
- content: "go build"
isCorrect: true
explanation: "Explanation1"
- content: "Answer2"
- content: "go run"
isCorrect: false
explanation: "Explanation2"
- content: "Answer3"
- content: "go install"
isCorrect: false
explanation: "Explanation3"
- content: "Answer4"
isCorrect: true
- content: "go compile"
isCorrect: false
explanation: "Explanation4"
- content: "Question2"
- content: "Where should you place your project files in your workstation?"
choices:
- content: "Answer1"
- content: "Anywhere I want"
isCorrect: false
explanation: "Explanation1"
- content: "Answer2"
- content: "At the root file system"
isCorrect: false
explanation: "Explanation2"
- content: "Answer3"
isCorrect: false
explanation: "Explanation3"
- content: "Answer4"
- content: "At the workspace directory"
isCorrect: true
explanation: "Explanation4"
- content: "Question3"
explanation: "Explanation3"
- content: "Do Go projects share the same workspace?"
choices:
- content: "Answer1"
isCorrect: false
- content: "Yes, you need to create all projects in the same workspace directory ($GOPATH)"
isCorrect: true
explanation: "Explanation1"
- content: "Answer2"
- content: "No, you can create a different workspace per project"
isCorrect: false
explanation: "Explanation2"
- content: "Answer3"
- content: "No, you can create a workspace per project as long as you have properly $GOPATH"
isCorrect: false
explanation: "Explanation3"
- content: "Answer4"
isCorrect: true
isCorrect: false
explanation: "Explanation4"
26 changes: 7 additions & 19 deletions get-started-with-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,18 @@
Please fill out the below info to help us keep your module organized properly.

Module Title:
< TITLE >
Get started with Go

Unit Titles:
- Introduction
- < TITLE >
- < TITLE >
- What is Go
- Exercise - Install Go
- Exercise - Explore the Go Playground
- Exercise - Install VS Code and the Go Extension
- Exercise - Hello World
- Knowledge check
- Summary

## Instructions

All modules should have this folder structure:

- top level module folder
- includes
- 0-unitname.md
- 1-unitname.md
- 2-unitname.md
- etc.md
- media
- yourimagefile.png
- 0-unitname.yml
- 1-unitname.yml
- 2-unitname.yml
- index.yml

In **each** .yml file, please fill out all commented fields to the best of your ability. If you have any questions, reach out to Shana.

Expand Down
4 changes: 2 additions & 2 deletions get-started-with-go/media/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Media folder

All images you include in your markdown should live in this folder and be referenced in the markdown from this folder.
All images you include in your markdown should live in this folder and be referenced in the markdown from this folder.

Please fill out the below information for any images you've added to this folder that you didn't create yourself (e.g. screenshots).
Please fill out the below information for any images you've added to this folder that you didn't create yourself (e.g. screenshots). Screenshots should include the full window (browser, VS Code, terminal)

Please ensure no screenshots have any PII (even your own email address) in them.

Expand Down
9 changes: 2 additions & 7 deletions take-your-first-steps-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Learning Path Title:
Take your first steps with Go

Module Titles:
Module Titles:

- Get started with Go
- Understand how to use variables, functions, and packages
- Use data types and structs, Arrays, Slices, and Maps
Expand All @@ -12,9 +13,3 @@ Module Titles:
- Use methods and interfaces
- Learn how concurrency works in Go
- Write and test a program

## Instructions

Learning paths are defined by a single yaml file. Please fill out all commented fields in the example yaml file in this folder.

For each new module in your learning path, copy the module folder and do all content development there. Modules & their content do NOT live inside a learning path folder.
17 changes: 9 additions & 8 deletions take-your-first-steps-go/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
# Fill out all fields with comments
uid:
metadata:
title: # Add your desired learning path title. All titles must be sentence-case.
title: Take your first steps with Go
description: # Add a short description of your learning path for search engines.
brand:
ms.date:
author: # Your GitHub username (or whomever you'd like to give author attribution to)
ms.author: shanama # Leave this as shanama unless you want content bugs assigned directly to you
author: meaghanlewis
ms.author: shanama
ms.topic: interactive-tutorial
ms.prod: learning-azure
title: # Your desired learning path title. Same as above.
title: Take your first steps with Go
summary: | # Add a description for your learning path to be displayed to users in the given form. Can include the description from above.
<Short description of your learning path>
In this learning path you will:
- <learning objective 1>
- <learning objective 2>
- <learning objective 3>
- Install and configure Go in your local workstation
- Install and configure VS Code and the Go extension
- Explore the Go Playground
- Create your first Go application
prerequisites: | # Fill in a detailed list of prerequisites in this form
# - prereq 1
Expand All @@ -27,7 +28,7 @@ iconUrl: /learn/achievements/generic-trophy.svg # TODO change
levels:
- beginner
roles:
# - Add relevant user role(s) (developer, data scientist, etc.)
- developer
- student
products:
-
Expand Down

0 comments on commit 5c1bc22

Please sign in to comment.