package main import ( "fmt" ) const ( WebDisabled string = `

X1

Loading http(s) URLs is disabled currently disabled.

This can be adjusted in your settings. Which can be found in one of these locations:

` GopherDisabled string = `

X2

Loading gopher URLs is disabled currently disabled.

This can be adjusted in your settings. Which can be found in one of these locations:

` FileDisabled string = `

X3

Loading file/local URLs is disabled currently disabled.

This can be adjusted in your settings. Which can be found in one of these locations:

` TooManyRedirects string = `

X4

Too many redirects were encountered.

` WTFError string = `

X9

General client error. This is a code bug and nothing you did wrong as a user.

` ) // Used for status codes returned from gemini, thus the int func ConvertErrorToHTML(status int, msg string) string { format := `

Error: %d

%s

` return fmt.Sprintf(format, status, msg) }