go-course

Go Programming Language Course

  • 所有者: anz-bank/go-course
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Go Training

Build Status
Coverage
GolangCI

Go Course lab assignments repository.

Prerequisites

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

主要指标

概览
名称与所有者anz-bank/go-course
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2019-01-24 04:57:12
推送于2020-07-31 04:35:55
最后一次提交2020-07-29 11:48:40
发布数0
用户参与
星数46
关注者数36
派生数164
提交数633
已启用问题?
问题数256
打开的问题数69
拉请求数235
打开的拉请求数1
关闭的拉请求数192
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?