24 lines
423 B
Go
24 lines
423 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"go.infratographer.com/x/gidx"
|
|
)
|
|
|
|
func (s *service) IsProjectID(id gidx.PrefixedID) bool {
|
|
if idType, ok := s.idPrefixMap[id.Prefix()]; ok {
|
|
return idType == TypeProject
|
|
}
|
|
|
|
return false
|
|
}
|
|
|
|
func (s *service) TouchProject(ctx context.Context, id gidx.PrefixedID) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *service) DeleteProject(ctx context.Context, id gidx.PrefixedID) error {
|
|
return nil
|
|
}
|