Explore >> Select a destination


You are here

blog.pamelafox.org
| | til.simonwillison.net
2.4 parsecs away

Travel
| | I wanted to stream the results from the ChatGPT API as they were generated, rather than waiting for the entire thing to complete before displaying anything.
| | stribny.name
3.4 parsecs away

Travel
| | How to send a stream of data from FastAPI backend to a browser and display it.
| | vercel.com
2.0 parsecs away

Travel
| | Learn how to build GPT-3 AI apps with OpenAI, Next.js, and Vercel Edge Functions.
| | www.integralist.co.uk
19.9 parsecs away

Travel
| Introduction Four ways to skin a cat How does the adapter work? Why is this interesting? Summary/Breakdown Introduction Here is some code that demonstrates the typical 'hello world' for a Go based web server: package main import ( "fmt" "net/http" ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello %s", r.URL.Path[1:]) } func main() { http.HandleFunc("/World", handler) http.ListenAndServe(":8080", nil) } Note: http://localhost:8080/World will return Hello World For most people,...