Update main.go

This commit is contained in:
Руслан 2023-10-16 03:11:19 +06:00 committed by GitHub
parent 1d19496c1a
commit fc9558bd8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ var (
) )
const ( const (
version = "1.0.0" version = "1.0.1"
cyan = "\033[1;36m" cyan = "\033[1;36m"
reset = "\033[0m" reset = "\033[0m"
) )
@ -85,13 +85,13 @@ func main() {
err := loadMessages(content) err := loadMessages(content)
if err != nil { if err != nil {
fmt.Println("Ошибка чтения %d: %d", content, err) fmt.Printf("Ошибка чтения %d: %d", content, err)
return return
} }
_, err = ioutil.ReadFile(html) _, err = ioutil.ReadFile(html)
if err != nil { if err != nil {
fmt.Println("Ошибка чтения %d: %d", html, err) fmt.Printf("Ошибка чтения %d: %d", html, err)
return return
} }