Skip to product information
1 of 1

Event

Practical Go for Developers - Hybrid Training - November 2023 Session

Practical Go for Developers - Hybrid Training - November 2023 Session

Regular price $595.00
Regular price Sale price $595.00
Sale Sold out
Ticket Type

Practical Go for Developers

The Practical Go for Developers training class helps experienced engineers get effective with the Go programming language and learn by writing code to solve common programming tasks.

When: Starts on Wednesday, November 1st, and ends on December 18th

Schedule:

Content:

Module 01: Go Foundations

Module 02: Structs, Methods & Interfaces

Module 03: Concurrency

Module 04: Project Engineering

Module 05: Writing Secure Go Code 

 **Important:** Upon completion of each Q&A session, there will be a video recording available of each for 3 months. An email with instructions to access them will be sent.

Module 01: Go Foundations

  • Strings & formatted output
    • What is a string?
    • Unicode basics
    • Using fmt package for formatted output
  • Calling REST APIs
    • Making HTTP calls with net/http
    • Defining structs
    • Serializing JSON
  • Working with files
    • Handling errors
    • Using defer to manage resources
    • Working with io.Reader & io.Writer interfaces

Module 02: Structs, Methods & Interfaces

  • Sorting
    • Working with slices
    • Writing methods
    • Understanding interfaces
  • Catching panics
    • The built-in recover function
    • Named return values
  • Processing text
    • Reading line by line with bufio.Scanner
    • Using regular expressions

Module 03: Concurrency

  • Distributing work
    • Using goroutines & channels
    • Using the sync package to coordinate work
  • Timeouts & cancellation
    • Working with multiple channels using select
    • Using context for timeouts & cancellations
    • Standard library support for context

Module 04: Project Engineering

  • Testing your code
    • Working with the testing package
    • Using testify for easier testing
    • Managing dependencies with go mod
  • Structuring your code
    • Writing & using sub-packages
  • Writing an HTTP server
    • Writing handlers
    • Fancier routing with gorilla/mux
  • Adding metrics & logging
    • Using expvar for metrics
    • Using the log package and a look at user/zap
  • Configuration patterns
    • Reading environment variables and a look at external packages
    • Using the flag package for command line processing

Module 05: Writing Secure Go Code 

In this module, you will learn how to secure your Go application to prevent data theft and crashes caused by hackers.

  • Why developers should prioritize security.
  • Preventing SQL injection attacks, identifying sensitive data storage, and safeguarding it from external exposure.
  • Writing code that ensures system integrity, and more.

Throughout, Miki presents challenges to test your newfound skills.

 

View full details