GO - Web & backend 101

Course:  GOWB
Duration:  1 Day
Level:  I
Course Summary

Getting ready for web development in Go

« Hide The Details
Topics Covered In This Course

Loading/converting to JSON

  • The encoding/json package
  • Rules for un/marshalling JSON
  • Loading a JSON configuration file
  • Serving web pages with Go
    • The http package
    • The http.Handler interface
    • Setting up a request multiplexer

Generating dynamic pages

  • The Go web template engine
  • Review of builtin functions
  • How to inject data in pages
  • Setting up a REST API (with Gorilla or gin-gonic library)
    • Overview of the setup
    • URL matching & handlers
    • Labwork with frontend test code

Setting up a JSON-RPC API

  • Overview of the setup
  • Working with RPC librairies
  • Exercise with frontend test code

Using gRPC

  • Introduction to the protobuf DSL
  • Codegen with the protoc compiler
  • Using a gRPC API

Working with SQL databases

  • Using a mysql or postgres driver
  • SQL queries with standard lib
  • SQL queries with the sqlx util lib
  • Example with an application

Working with NoSQL databases

  • Overview of the NoSQL DBs
  • Working with JSON
  • Exercises with BoltDB
Recommended Prerequisites

First experience in Go or completion of Go fundamentals

« Hide The Details
Related Courses
Code Course Title Duration Level
GO
Fundamentals Getting up and running in Go
3 Days
I
Details
GOA
GO - Advanced level
2 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at [email protected]