mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
eb2a792301
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. |
||
---|---|---|
.. | ||
buildinfo | ||
cli | ||
daemon | ||
diag | ||
edit | ||
eval | ||
getopt | ||
glob | ||
parse | ||
prog | ||
shell | ||
store | ||
sys | ||
testutil | ||
tt | ||
ui | ||
util | ||
wcwidth | ||
web |