mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 11:22:15 +01:00
wip refactoring: better logging and error systems
This commit is contained in:
3
internal/pkg/random/doc.go
Normal file
3
internal/pkg/random/doc.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package random helps generating
|
||||
// a random string.
|
||||
package random
|
||||
10
internal/pkg/random/random.go
Normal file
10
internal/pkg/random/random.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package random
|
||||
|
||||
import (
|
||||
"github.com/labstack/gommon/random"
|
||||
)
|
||||
|
||||
// Get returns a random string.
|
||||
func Get() string {
|
||||
return random.String(32)
|
||||
}
|
||||
Reference in New Issue
Block a user