Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoCollectionName string = "items"
Functions ¶
func NewFromItem ¶
Types ¶
type MongoRepository ¶
type MongoRepository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(ctx context.Context, connectionString string) (*MongoRepository, error)
Click to show internal directories.
Click to hide internal directories.