Go Contact Course
Course aim:
This course will be a basic follow up of different Go introduction courses and official tutorials. All of them will be registered on the Bibliography section as special thanks.
Course sections:
This chapter will be updated every time I will start a new course/tutorial/test. Actually, the course structure is:
GoInContact:
BumperCourse:
Basic introduction into Go language, this section will include different chapters following Sentdex Tutorial on YT:
- Introduction: Basic HelloWorld program in Go.
- Syntax
- Types
- Pointers
- WebApplication
- Structs
- Methods
- MethodsV2
- WebDevBasics
- Web processing
- Web parsing - Modified - Install HTML parser
Documentation:
An example of how to get documentation can be the ‘println()’ function inside fmt.
$ godoc fmt Println
Due to complete BumperCourse step 11 you will need Go HTML parser package, you can get it doing:
$ go get golang.org/x/net/html
Tutorials-Modifications
Some tutorials have outdated steps which can make the tutorial impossible to test or learn. In this cases, I added some modifications trying to adapt the tutorial aim into an updated version of it. Hope you can take advantage of it!
- Tutorial: BumperCourse from Sentdex.
Modifications on step 11:- Changed XML parsing to HTML parsing.
- Changed step aim to: Parse golang website topbar links and show them into our webapp ‘/links’
- Using new package: package html
- Removed structs: SitemapIndex and Location.
- Added structs: Link.
Go installation:
Go can be installed from their Official Website.
Bibliography:
- Sentdex Go Course: Course used to make my Go BumperCourse.
- Go Styles: Go Styles documentation.
- Go Redirections: How to redirect pages in Go.
- Go Simple WebScraper: Simple webscraper idea.
- Go HTML parsing: HTML parsing package.
- A Tour of Go: Go basic documentation and examples.