bug
command.
This commit is contained in:
parent
b6752a2c02
commit
5cc49e2931
43 changed files with 2560 additions and 409 deletions
14
server/uuid/uuid.go
Normal file
14
server/uuid/uuid.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue