chore: fix lint using fieldalignment
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latestmain
parent
c67be678c5
commit
b6d375fcb7
|
@ -19,15 +19,15 @@ const (
|
|||
|
||||
type action struct {
|
||||
flags struct {
|
||||
verbose bool
|
||||
scopes map[string]struct{}
|
||||
output string
|
||||
from string
|
||||
to string
|
||||
version string
|
||||
scopes map[string]struct{}
|
||||
repository string
|
||||
output string
|
||||
filename string
|
||||
filetype string
|
||||
verbose bool
|
||||
dryRun bool
|
||||
interactive bool
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package git
|
|||
import "time"
|
||||
|
||||
type Author struct {
|
||||
When time.Time
|
||||
Name string
|
||||
Email string
|
||||
When time.Time
|
||||
}
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
|
||||
// Commit stores all git-commit information
|
||||
type Commit struct {
|
||||
Message string
|
||||
Author Author
|
||||
Message string
|
||||
}
|
||||
|
||||
// Convert from git-commit
|
||||
|
|
Loading…
Reference in New Issue