Standard library / net/http

http.StatusEarlyHints

HTTP status 103. Informational hints may precede the final response. Expected stdout: '103\n'.

Formal Syntax & Structure

go syntaxgo
const StatusEarlyHints = 103

Working Example

Example Snippetgo
package main
import (  "fmt"  "net/http")
func main() { fmt.Println(http.StatusEarlyHints) }
func must[T any](v T, e error) T {  if e != nil {    panic(e)  }  return v}func check(e error) {  if e != nil {    panic(e)  }}
Go Reference