traefik/server/uuid/uuid.go
Ludovic Fernandez 5cc49e2931 bug command.
2017-10-02 10:32:02 +02:00

14 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
}