Skip to content

Commit c999e94

Browse files
authored
Fix golangci-lint issues in show-index.go: wsl_v5 and embeddedstructfieldcheck
1 parent 8364768 commit c999e94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmd/gogit/show-index.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ var showIndexCmd = &cobra.Command{
3232

3333
func showIndexRun(in io.Reader, out io.Writer) error {
3434
idx := idxfile.NewMemoryIndex(crypto.SHA1.Size())
35+
3536
idxIn, err := idxInput(in)
3637
if err != nil {
3738
return err
@@ -79,6 +80,7 @@ func idxInput(in io.Reader) (idxfile.Input, error) {
7980

8081
type memoryIdxInput struct {
8182
*bytes.Reader
83+
8284
size int64
8385
}
8486

0 commit comments

Comments
 (0)