Standard library / net/http

http.StatusMultipleChoices

HTTP status 300. Multiple representations or choices are available. Expected stdout: '300\n'.

Formal Syntax & Structure

go syntaxgo
const StatusMultipleChoices = 300

Working Example

Example Snippetgo
package main
import (  "fmt"  "net/http")
func main() { fmt.Println(http.StatusMultipleChoices) }
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