GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Marchitect/go-course: Go Programming Language Course

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

172 Commits
172 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
00_hello_world/juliaogris
00_hello_world/juliaogris
 
 
01_fib
01_fib
 
 
02_bubble
02_bubble
 
 
03_letters
03_letters
 
 
04_numeronym
04_numeronym
 
 
05_stringer
05_stringer
 
 
06_puppy
06_puppy
 
 
07_errors
07_errors
 
 
08_project
08_project
 
 
09_json
09_json
 
 
10_rest
10_rest
 
 
11_notify
11_notify
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cloudbuild.yaml
cloudbuild.yaml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
labs.md
labs.md
 
 

Repository files navigation

Go Training

Build Status Coverage GolangCI

Go Course lab assignments repository.

Prerequisites

  • Install go 1.12 according to official installation instruction
  • Clone this project outside your $GOPATH to enable Go Modules
  • Install golangci-lint according to instructions

Build, execute, test, lint

Run the hello-world sample with

go run 00_hello_world/juliaogris/main.go

Alternative build and execute a binary with

go build -o hello_world ./00_hello_world/juliaogris
./hello_world

Test it with

go test ./...

Lint it with

golangci-lint run

Review coverage with

go test -coverprofile=coverage.out ./... && go tool cover -html=coverage.out

Pre-PR checklist

  • Ensure your source code changes
    • Build
    • Test
    • Lint
    • Have 100% test coverage
  • Ensure good commit messages
    • Separate subject from body with a blank line
    • Limit the subject line to 60 characters
    • Use the imperative mood in the subject line
    • Do not end the subject line with a period
    • Wrap the body at 80 characters
    • Use the body to explain what and why vs. how
    • Use git rebase -i COMMIT_HASH to rework your commits if necessary
  • Fill in PR description and reference an Issue for instance with #6
  • Review the "Files changed" section of your PR
  • "Think of the reviewer: your code needs to be reviewable and that should be a prime concern when writing your code, commits and PRs." (@camh-anz)
  • Review a colleague's PR and add a link to the review in your own PR description

About

Go Programming Language Course

go-course.org/

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.