Standard library / net/http
http.StatusNotExtended
HTTP status 510. Historical extension-framework status; not a general-purpose new API status. Expected stdout: '510\n'.
Formal Syntax & Structure
go syntaxgo
const StatusNotExtended = 510Working Example
Example Snippetgo
package main
import ( "fmt" "net/http")
func main() { fmt.Println(http.StatusNotExtended) }
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) }}