/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

dave.cheney.net
| | www.alexedwards.net

[AI summary] A beginner-friendly tutorial explains how to structure Go web applications, covering packages, modules, imports, and organizing dependencies.
6.0 parsecs

Travel
| |
| | hjr265.me

I wanted to list all the time zones in Go. The standard library in Go comes with the time package. It also comes with the time/tzdata package. The standard time package in Go is very well-thought-out. It makes date-time manipulation deceptively simple. Yet, I could not find a way to list all the time zones. Time Zone Database The documentation for time.LoadLocation describes how Go uses four sources of time zone data:
10.8 parsecs

Travel
| |
| | github.com

A getting started guide for Go newcomers. Contribute to alco/gostart development by creating an account on GitHub.
4.9 parsecs

Travel
| |
| | khromov.se

In this blog post we'll go over a lesser documented but powerful part of SvelteKit - event.locals. Locals are a way to register trusted, server-side, per-request state. The most common use case for locals is to associate some type of data with the current request. Example use cases for locals are: Since locals are per-request, they don't leak between requests, and disappear immediately when the request has been delivered to the user. Locals are common in other frameworks - you might already be familiar w...
35.6 parsecs

Travel
|