Skip to content

Basic Go programming, with test case, from a module

Notifications You must be signed in to change notification settings

BabyCattleyaGP/go-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Basic

This repository for personal learning material. Learning basic programming with Go Language.

Dev Environment

  • Go version go1.14.3 windows/amd64

Run

  • Build go build filename.go
  • Or Run without build go run filename.go
  • Run .\filename.go

Test

  • Run go test or go test -v
  • Benchmark: on powershell (windows) go test -bench="."
  • Test coverage: go test -cover
  • Run spesific column (Table Driven Test), example: go test -run FunctionName/Name
  • Run errcheck . for check error handling scenario we have not tested.

About

Basic Go programming, with test case, from a module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages