Every line of 'golang uuid' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
106 func (app *Application) GenerateUUID(uuidVal string) string { 107 base := app.config.UUID 108 if len(uuidVal) == 8 { 109 base = "" 110 } 111 return base + uuidVal + app.config.UUIDSuffix 112 }
28 func (h Helpers) UUID() string { 29 return uuid.V4().String() 30 }
346 func (m *CreateVirtualMachineAgentRequest) GetUuid() string { 347 if m != nil { 348 return m.Uuid 349 } 350 return "" 351 }
46 func (m *Blueprint) GetUuid() string { 47 if m != nil { 48 return m.Uuid 49 } 50 return "" 51 }
634 func (m *ShutdownVirtualMachineAgentRequest) GetUuid() string { 635 if m != nil { 636 return m.Uuid 637 } 638 return "" 639 }
91 func (m *Agent) GetUuid() string { 92 if m != nil { 93 return m.Uuid 94 } 95 return "" 96 }
46 func (m *CrashedNode) GetUUID() string { 47 if m != nil { 48 return m.Uuid 49 } 50 return "" 51 }
98 func (m *IdReply) GetUuid() string { 99 if m != nil { 100 return m.Uuid 101 } 102 return "" 103 }
94 func (m *HostAccess) GetUuid() string { 95 if m != nil { 96 return m.Uuid 97 } 98 return "" 99 }
905 func (m *DelThirdPartyEndpointsReq) GetUuid() string { 906 if m != nil { 907 return m.Uuid 908 } 909 return "" 910 }