mirror of
https://github.com/traefik/traefik.git
synced 2025-08-10 08:37:05 +02:00
15 lines
181 B
Go
15 lines
181 B
Go
package uuid
|
|
|
|
import guuid "github.com/satori/go.uuid"
|
|
|
|
var uuid string
|
|
|
|
func init() {
|
|
uuid = guuid.NewV4().String()
|
|
}
|
|
|
|
// Get the instance UUID
|
|
func Get() string {
|
|
return uuid
|
|
}
|