elvish/pkg/store
Kurtis Rader eb2a792301 Fix some lint warnings
In addition to an uncontroversial spelling fix this addresses several,
related, warnings produced by the `golint` tool. In general I agree with
golint that unnecessary "else" blocks should be avoided. So this change
refactors those cases.

Note: I recognize that `golint` is deprecated (see
https://github.com/golang/go/issues/38968) since it is no longer being
maintained and there is controversy about its set of warnings. Nonetheless,
it appears that the warnings it emits for this project are all reasonable
and actionable with one potential exception: the naming of the `map_`
method in pkg/eval/compile_value.go.
2020-08-01 23:07:50 +01:00
..
storetest pkg: Fix small issues found by staticcheck. 2020-04-13 13:56:10 +01:00
buckets.go pkg/store: De-export all Bucket* constants. 2019-12-26 17:52:28 +00:00
cmd_test.go pkg/store: Move test code into a separate storetest package. 2020-04-06 00:39:57 +01:00
cmd.go Fix some lint warnings 2020-08-01 23:07:50 +01:00
db_store.go Switch to etcd's fork of boltdb. 2020-03-25 22:31:39 +00:00
dir_test.go pkg/store: Move test code into a separate storetest package. 2020-04-06 00:39:57 +01:00
dir.go pkg/store: Move test code into a separate storetest package. 2020-04-06 00:39:57 +01:00
shared_var_test.go pkg/store: Move test code into a separate storetest package. 2020-04-06 00:39:57 +01:00
shared_var.go Fix some lint warnings 2020-08-01 23:07:50 +01:00
store.go pkg/{store,daemon}: Introduce a new CmdsWithSeq method. 2019-12-27 11:48:34 +00:00
temp_store.go Merge pkg/store/storedefs into pkg/store. 2019-12-26 18:05:13 +00:00