We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54d2ba commit 826ef86Copy full SHA for 826ef86
models/repo/license.go
@@ -27,7 +27,7 @@ type RepoLicense struct { //revive:disable-line:exported
27
type RepoLicenseList []*RepoLicense //revive:disable-line:exported
28
29
func (rll RepoLicenseList) StringList() []string {
30
- var licenses = make([]string, 0, len(rll))
+ licenses := make([]string, 0, len(rll))
31
for _, rl := range rll {
32
licenses = append(licenses, rl.License)
33
}
0 commit comments