Skip to content

GoLang projects: Hello world starter and Go Quiz App

Notifications You must be signed in to change notification settings

rominalodolo/GoLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLang

Go handbook Download PDF

GoLang Courses: Free Code Camp Tech World with Nana

Developed at Google and made open source in 2009

It's a multithread language

Designed to run on multiple cores and built to support concurrency

Concurrency in Go is cheap and easy

for performant applications

Docker, Vault, Cockroach is written in Go

GoLang projects: Hello world starter

Hello World Starter App

hellowithgo

gohelp

Go Quiz App

The problem:

  • The task is to build a super simple quiz with a few questions and a few alternatives for each question. With one correct answer per question.
  • Backend - Golang
  • Database - Just in-memory , so no database
  • REST API or gRPC
  • CLI that talks with the API, preferably using https://github.com/spf13/cobra ( as cli framework )
  • cobra-cli Readme

Installing Cobra

cobrainstall

Facing issues with init

User stories/Use cases

  • User should be presented questions with a number of answers
  • User should be able to select just one answer per question
  • User should be able to answer all the questions and then post his/her answers and get back how many correct answers there had and be displayed to the user.
  • User should see how good he/she rated compared to others that have taken the quiz, "You scored higher than 60% of all quizzers"

Last Edit: September 2022

About

GoLang projects: Hello world starter and Go Quiz App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages