gбновление зависимостей, рефакторинг кода, чтобы он выглядел как гошный проект

This commit is contained in:
eleksir
2025-04-06 20:22:16 +03:00
parent 00257b8e6c
commit cfb98fc0b3
389 changed files with 18649 additions and 9105 deletions

20
internal/lib/proverb.go Normal file
View File

@@ -0,0 +1,20 @@
package lib
import (
log "github.com/sirupsen/logrus"
)
// Пословица
func proverb() string {
var answer = "There is no knowledge that is not power."
phrase, err := FetchRandomV(PebbleDB.Proverb.DB, PebbleDB.Proverb.Name)
if err != nil {
log.Errorln(err)
return answer
}
return phrase
}
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */