update misspell and gofmt

This commit is contained in:
Ming Deng
2020-12-14 13:52:26 +08:00
parent d4da82ef77
commit 385e1d390f
11 changed files with 31 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ type SimpleKVs struct {
var _ KVs = new(SimpleKVs)
// GetValueOr returns the value for a given key, if non-existant
// GetValueOr returns the value for a given key, if non-existent
// it returns defValue
func (kvs *SimpleKVs) GetValueOr(key interface{}, defValue interface{}) interface{} {
v, ok := kvs.kvs[key]