Fix spelling

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-07-09 20:19:54 +02:00
parent 53952e566b
commit 9248b462dd

View File

@ -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{}