func main() { for i := 0; i < 10; i++ { println(uuid.New()) } }
// AddUuid func AddModelUuid(model interface{}) interface{} { id := uuid.New() logger.Tracef("Add new UUID: %v", id) return mcore.SetFieldValue(model, "Id", id) }