Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInMemoryRepository ¶
func NewInMemoryRepository() ports.Repository
NewInMemoryRepository creates a thread-safe local storage adapter.
Types ¶
type InMemoryRepository ¶
type InMemoryRepository struct {
// contains filtered or unexported fields
}
InMemoryRepository is an database adapter that implements ports.Repository.
Click to show internal directories.
Click to hide internal directories.