Fix spelling
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
53952e566b
commit
9248b462dd
@ -45,8 +45,8 @@ type MemRepoOptions struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewMemory creates new memory based repo with provided options.
|
// NewMemory creates new memory based repo with provided options.
|
||||||
// opts can be nil will be replaced with default
|
// opts can be nil, it will be replaced with defaults.
|
||||||
// any filed in opts can be nil, it will be replaced by defaults
|
// Any field in opts can be nil, they will be replaced by defaults.
|
||||||
func NewMemory(opts *MemRepoOptions) *MemRepo {
|
func NewMemory(opts *MemRepoOptions) *MemRepo {
|
||||||
if opts == nil {
|
if opts == nil {
|
||||||
opts = &MemRepoOptions{}
|
opts = &MemRepoOptions{}
|
||||||
|
Loading…
Reference in New Issue
Block a user