mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-07 02:45:22 +02:00
Simplify parameter types (#18006)
Remove repeated type declarations in function definitions.
This commit is contained in:
parent
25677cdc5b
commit
ff2fd08228
59 changed files with 115 additions and 116 deletions
|
@ -73,7 +73,7 @@ func (logger *WriterLogger) GetStacktraceLevel() Level {
|
|||
}
|
||||
|
||||
// Copy of cheap integer to fixed-width decimal to ascii from logger.
|
||||
func itoa(buf *[]byte, i int, wid int) {
|
||||
func itoa(buf *[]byte, i, wid int) {
|
||||
var logger [20]byte
|
||||
bp := len(logger) - 1
|
||||
for i >= 10 || wid > 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue