DiagnosticsError codesM0103 not formattedThe file is not in gofmt layout, or its imports are not as goimports would write them.Last updated Nov 13, 2026Copy MarkdownView as MarkdownAgent setup The fixCopy Anchor Link Run marmot fmt. See also all error codes and marmot explain.M0102 modernize suggestionThe code can use a newer language or library feature that the module's go version allows (min and max, range over int, slices and maps functions, strings.Cut, ...).M0104 gopls findingAn analyzer of gopls (simplifications, unused parameters, ...) has a suggestion.