Skip to content
Snippets Groups Projects
Select Git revision
  • 45c20ff2e44c0439de008030ab25e77f178a3b15
  • master default
  • ui-handover
  • ui-update-yang
  • inventory-manager-netbox
  • heiss_bachelor_thesis
  • proto-getters
  • 392-remove-renovate
  • renovate/go.mongodb.org-mongo-driver-2.x
  • renovate/github.com-bufbuild-protovalidate-go-0.x
  • renovate/google.golang.org-genproto-googleapis-api-digest
  • renovate/github.com-prometheus-client_golang-1.x
  • renovate/eslint-9.x-lockfile
  • renovate/eslint-plugin-react-7.x-lockfile
  • renovate/dompurify-3.x-lockfile
  • renovate/testing-library-react-16.x-lockfile
  • renovate/eslint-plugin-prettier-5.x-lockfile
  • renovate/react-dom-18.x-lockfile
  • renovate/eslint-plugin-react-hooks-5.x-lockfile
  • renovate/testing-library-user-event-14.x-lockfile
  • renovate/reduxjs-toolkit-2.x-lockfile
  • renovate/github.com-openconfig-gnmi-0.x
  • 0.1.0
23 results

legacy.go

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    legacy.go 393 B
    package ports
    
    import "github.com/google/uuid"
    
    // Storable provides an interface for the controller's storage architecture.
    type Storable interface {
    	ID() uuid.UUID
    }
    
    // Store describes an interface for store implementations.
    type Store interface {
    	Exists(id uuid.UUID) bool
    	Add(item Storable) error
    	Get(id uuid.UUID) (Storable, error)
    	Delete(id uuid.UUID) error
    	UUIDs() []uuid.UUID
    }