github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/uid/service.go (about)

     1  package uid
     2  
     3  import "github.com/google/uuid"
     4  
     5  type service struct{}
     6  
     7  // NewService missing godoc
     8  func NewService() *service {
     9  	return &service{}
    10  }
    11  
    12  // Generate missing godoc
    13  func (s *service) Generate() string {
    14  	return uuid.New().String()
    15  }