Go 1.26 · net/http · Google Cloud Run

Go Server Demo

A small Go web server: it serves this page and its CSS and JavaScript, and has two API endpoints, one of which calls the Open-Meteo weather API.

Current temperature

The browser script app.js calls the Go endpoint /api/weather, which asks Open-Meteo and returns JSON.

Pick a place or enter coordinates, then press Get temperature.

Endpoints

About

Code
github.com/wizzard262/golang-server
Setup notes
README.md
Hosting
Google Cloud Run, built from source by Cloud Build
Server
main.go: Go's standard net/http, no frameworks