feat: log output

This commit is contained in:
Julian Tölle 2024-04-30 23:48:59 +02:00
parent 4f57df5b66
commit 904e5e0bed
8 changed files with 133 additions and 23 deletions

View file

@ -6,6 +6,8 @@ import (
"fmt"
)
// From https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/blob/0f60204582289c243599f8ca0f5be4822789131d/internal/utils/random.go
func Generate() (string, error) {
b := make([]byte, 4)
_, err := rand.Read(b)