1
0
Fork 0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-05-14 08:16:04 +02:00

status: Update documentation

This commit is contained in:
Adnan Maolood 2021-02-14 19:28:21 -05:00
parent 5ec8dea1ba
commit ff06e50df5

View File

@ -28,7 +28,8 @@ func StatusClass(status int) int {
return (status / 10) * 10
}
// Meta returns a description of the status code appropriate for use in a response.
// Meta returns a description of the provided status code appropriate
// for use in a response.
//
// Meta returns an empty string for input, success, and redirect status codes.
func Meta(status int) string {