mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-26 02:58:44 -06:00
Fixes are based on Go report card output: - `gofmt -s` eliminates some duplication in struct/slice initialization - `golint` found some issues like: `warning: should drop = nil from declaration of var XXX; it is the zero value` - `golint` found some issues like: `warning: receiver name XXX should be consistent with previous receiver name YYY for ZZZ` - `golint` says not to use underscores for function/variable names - `golint` found several issues like: `warning: if block ends with a return statement, so drop this else and outdent its block` No functional changes are included - just source code quality improvements.