1
0
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:
Oleksandr Redko
2025-05-27 08:44:24 +03:00
committed by GitHub
parent 398f7a83eb
commit f4976873e7
49 changed files with 135 additions and 132 deletions

View File

@@ -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)
)