Source file src/cmd/vendor/golang.org/x/tools/internal/refactor/edit.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.p
     4  
     5  package refactor
     6  
     7  // This is the only file in this package that should import analysis.
     8  //
     9  // TODO(adonovan): consider unaliasing the type to break the
    10  // dependency. (The ergonomics of slice append are unfortunate.)
    11  
    12  import "golang.org/x/tools/go/analysis"
    13  
    14  // An Edit describes a deletion and/or an insertion.
    15  type Edit = analysis.TextEdit
    16  

View as plain text