• Home
  • Sections
Logo
Logo
  • Home
  • Sections

Sections

  • Who am I
  • Experience in Go Programming
  • Why Go
  • Motivation
  • What to expect
  • The net/http package
  • Analyzing Web Requests
  • Producing Web Responses
  • Example with Standard Types
  • HTTP Methods are Verbs
  • CRUD and HTTP Methods
  • Paths identify Resources
  • JSON as Lingua Franca
  • Body handling in httpx
  • Example using httpx
  • The Standard Multiplexer
  • Nesting of Handlers
  • Usage of nested Handlers
  • Wrapper to log Requests
  • JSON Web Token
  • Connect a Database
  • Keep the door
  • See what we have learned
Overview

Samples

Connect a Database

Create a handler providing a RESTful API for a customer database.

Keep the door

Allow entrance to functionality based on HTTP method and RESTful API path.

  • themue.dev