# README
golang-gettingstarted
Started using Go, mainly following these tutorials below:
Key Concepts Learned
Modules
- defining a module
- importing remote modules
Packages
- defining a package
- importing packages from remote modules and using them in .go scripts
Functions
- function definition (parameters, return value)
- documenting functions
- making functions available for exporting in a package
Testing
- writing simple test cases for my own packages
- using the "testing" package, more here: https://golang.org/pkg/testing/
Common Command Line
- running scripts:
go run script.go
- running tests:
go test
- building packages:
go build helper.go
- creating a module:
go mod init module.com/path/name
- installing a program:
go install
# Packages
Package morestrings implements additional functions to manipulate UTF-8 encoded strings, beyond what is provided in the standard "strings" package.