mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
docs: improve comments for functions; enable godot (#1382)
This commit is contained in:
@@ -41,7 +41,7 @@ type lintTimeDate struct {
|
||||
}
|
||||
|
||||
var (
|
||||
// timeDateArgumentNames are the names of the arguments of time.Date
|
||||
// timeDateArgumentNames are the names of the arguments of time.Date.
|
||||
timeDateArgumentNames = []string{
|
||||
"year",
|
||||
"month",
|
||||
@@ -53,7 +53,7 @@ var (
|
||||
"timezone",
|
||||
}
|
||||
|
||||
// timeDateArity is the number of arguments of time.Date
|
||||
// timeDateArity is the number of arguments of time.Date.
|
||||
timeDateArity = len(timeDateArgumentNames)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user