mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 17:03:47 +03:00
14 lines
163 B
Go
14 lines
163 B
Go
|
//go:build !go1.21
|
||
|
|
||
|
// For go1.20 and earlier.
|
||
|
|
||
|
package tlsrpt
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func formatAlert(alert uint8) string {
|
||
|
return fmt.Sprintf("alert-%d", alert)
|
||
|
}
|