chore: add sqlite init and config, add repository for sql
ci-agent / build (push) Failing after 26s

This commit is contained in:
d3m0k1d
2026-04-03 22:48:31 +03:00
parent 2ebf374413
commit 28ef2dc1fd
12 changed files with 206 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
package initial
import (
"crypto/rand"
"encoding/hex"
)
func RandomToken() (string, error) {
token := make([]byte, 32)
if _, err := rand.Read(token); err != nil {
return "", err
}
return hex.EncodeToString(token), nil
}