Source file src/cmd/vendor/golang.org/x/tools/internal/goplsexport/export.go
1 // Copyright 2025 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package goplsexport provides various backdoors to not-yet-published 6 // parts of x/tools that are needed by gopls. 7 package goplsexport 8 9 import "golang.org/x/tools/go/analysis" 10 11 var ( 12 ErrorsAsTypeModernizer *analysis.Analyzer // = modernize.errorsastypeAnalyzer 13 SlicesBackwardModernizer *analysis.Analyzer // = modernize.slicesbackwardAnalyzer 14 StdIteratorsModernizer *analysis.Analyzer // = modernize.stditeratorsAnalyzer 15 PlusBuildModernizer *analysis.Analyzer // = modernize.plusbuildAnalyzer 16 StringsCutModernizer *analysis.Analyzer // = modernize.stringscutAnalyzer 17 UnsafeFuncsModernizer *analysis.Analyzer // = modernize.unsafeFuncsAnalyzer 18 AtomicTypesModernizer *analysis.Analyzer // = modernize.atomicTypesAnalyzer 19 EmbedLitModernizer *analysis.Analyzer // = modernize.embedLitAnalyzer 20 ) 21