mirror of
https://github.com/containous/traefik.git
synced 2025-02-08 05:57:36 +03: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
|
|
}
|