Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
go vet
examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
No problems detected. Good job!
Gocyclo calculates cyclomatic complexities of functions in Go source code.
The cyclomatic complexity of a function is calculated according to the following rules:
1 is the base complexity of a function
+1 for each 'if', 'for', 'case', '&&' or '||'
Go Report Card warns on functions with cyclomatic complexity > 15.
Golint is a linter for Go source code.
-
fyne-theme-generator/internal/theme/theme.go
- Line 24: warning: exported var EmbeddedThemes should have comment or be unexported (golint)
- Line 31: warning: exported function GetEmbeddedThemeFrom should have comment or be unexported (golint)
- Line 45: warning: exported type Setting should have comment or be unexported (golint)
- Line 85: warning: exported function NewSetting should have comment or be unexported (golint)
- Line 132: warning: exported method Setting.PackageName should have comment or be unexported (golint)
- Line 133: warning: exported method Setting.ThemeStructName should have comment or be unexported (golint)
- Line 134: warning: exported method Setting.BackgroundColor should have comment or be unexported (golint)
- Line 135: warning: exported method Setting.ButtonColor should have comment or be unexported (golint)
- Line 136: warning: exported method Setting.DisabledButtonColor should have comment or be unexported (golint)
- Line 137: warning: exported method Setting.DisabledColor should have comment or be unexported (golint)
- Line 138: warning: exported method Setting.ErrorColor should have comment or be unexported (golint)
- Line 139: warning: exported method Setting.FocusColor should have comment or be unexported (golint)
- Line 140: warning: exported method Setting.ForegroundColor should have comment or be unexported (golint)
- Line 141: warning: exported method Setting.HoverColor should have comment or be unexported (golint)
- Line 142: warning: exported method Setting.InputBackgroundColor should have comment or be unexported (golint)
- Line 143: warning: exported method Setting.PlaceHolderColor should have comment or be unexported (golint)
- Line 144: warning: exported method Setting.PressedColor should have comment or be unexported (golint)
- Line 145: warning: exported method Setting.PrimaryColor should have comment or be unexported (golint)
- Line 146: warning: exported method Setting.ScrollBarColor should have comment or be unexported (golint)
- Line 147: warning: exported method Setting.ShadowColor should have comment or be unexported (golint)
- Line 148: warning: exported method Setting.CaptionTextSize should have comment or be unexported (golint)
- Line 149: warning: exported method Setting.InlineIconSize should have comment or be unexported (golint)
- Line 150: warning: exported method Setting.PaddingSize should have comment or be unexported (golint)
- Line 151: warning: exported method Setting.ScrollBarSize should have comment or be unexported (golint)
- Line 152: warning: exported method Setting.ScrollBarSmallSize should have comment or be unexported (golint)
- Line 153: warning: exported method Setting.SeparatorThicknessSize should have comment or be unexported (golint)
- Line 154: warning: exported method Setting.TextSize should have comment or be unexported (golint)
- Line 155: warning: exported method Setting.InputBorderSize should have comment or be unexported (golint)
- Line 156: warning: exported method Setting.TextFont should have comment or be unexported (golint)
- Line 157: warning: exported method Setting.TextBoldFont should have comment or be unexported (golint)
- Line 158: warning: exported method Setting.TextItalicFont should have comment or be unexported (golint)
- Line 159: warning: exported method Setting.TextBoldItalicFont should have comment or be unexported (golint)
- Line 160: warning: exported method Setting.TextMonospaceFont should have comment or be unexported (golint)
- Line 162: warning: exported method Setting.SetPackageName should have comment or be unexported (golint)
- Line 163: warning: exported method Setting.SetThemeStructName should have comment or be unexported (golint)
- Line 164: warning: exported method Setting.SetBackgroundColor should have comment or be unexported (golint)
- Line 165: warning: exported method Setting.SetButtonColor should have comment or be unexported (golint)
- Line 166: warning: exported method Setting.SetDisabledButtonColor should have comment or be unexported (golint)
- Line 167: warning: exported method Setting.SetDisabledColor should have comment or be unexported (golint)
- Line 168: warning: exported method Setting.SetErrorColor should have comment or be unexported (golint)
- Line 169: warning: exported method Setting.SetFocusColor should have comment or be unexported (golint)
- Line 170: warning: exported method Setting.SetForegroundColor should have comment or be unexported (golint)
- Line 171: warning: exported method Setting.SetHoverColor should have comment or be unexported (golint)
- Line 172: warning: exported method Setting.SetInputBackgroundColor should have comment or be unexported (golint)
- Line 173: warning: exported method Setting.SetPlaceHolderColor should have comment or be unexported (golint)
- Line 174: warning: exported method Setting.SetPressedColor should have comment or be unexported (golint)
- Line 175: warning: exported method Setting.SetPrimaryColor should have comment or be unexported (golint)
- Line 176: warning: exported method Setting.SetScrollBarColor should have comment or be unexported (golint)
- Line 177: warning: exported method Setting.SetShadowColor should have comment or be unexported (golint)
- Line 178: warning: exported method Setting.SetCaptionTextSize should have comment or be unexported (golint)
- Line 179: warning: exported method Setting.SetInlineIconSize should have comment or be unexported (golint)
- Line 180: warning: exported method Setting.SetPaddingSize should have comment or be unexported (golint)
- Line 181: warning: exported method Setting.SetScrollBarSize should have comment or be unexported (golint)
- Line 182: warning: exported method Setting.SetScrollBarSmallSize should have comment or be unexported (golint)
- Line 183: warning: exported method Setting.SetSeparatorThicknessSize should have comment or be unexported (golint)
- Line 184: warning: exported method Setting.SetTextSize should have comment or be unexported (golint)
- Line 185: warning: exported method Setting.SetInputBorderSize should have comment or be unexported (golint)
- Line 186: warning: exported method Setting.SetTextFont should have comment or be unexported (golint)
- Line 187: warning: exported method Setting.SetTextBoldFont should have comment or be unexported (golint)
- Line 188: warning: exported method Setting.SetTextItalicFont should have comment or be unexported (golint)
- Line 189: warning: exported method Setting.SetTextBoldItalicFont should have comment or be unexported (golint)
- Line 190: warning: exported method Setting.SetTextMonospaceFont should have comment or be unexported (golint)
- Line 192: warning: exported method Setting.ExportFontFile should have comment or be unexported (golint)
- Line 193: warning: exported method Setting.SetExportFontFile should have comment or be unexported (golint)
- Line 194: warning: exported method Setting.ExportForV2 should have comment or be unexported (golint)
- Line 195: warning: exported method Setting.SetExportForV2 should have comment or be unexported (golint)
- Line 197: warning: exported method Setting.UpdateTheme should have comment or be unexported (golint)
- Line 255: warning: exported method Setting.Color should have comment or be unexported (golint)
- Line 290: warning: exported method Setting.Font should have comment or be unexported (golint)
- Line 306: warning: exported method Setting.Icon should have comment or be unexported (golint)
- Line 310: warning: exported method Setting.Size should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!