@@ -275,3 +275,77 @@ func F() {} //@codeaction("func", "refactor.extract.toNewFile", edit=blank_impor
275
275
- return time1.Now().string()
276
276
-}
277
277
-
278
+ -- copyright.go --
279
+ // Copyright 2020 The Go Authors. All rights reserved.
280
+ // Use of this source code is governed by a BSD-style
281
+ // license that can be found in the LICENSE file.
282
+
283
+ package main
284
+
285
+ // docs
286
+ const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=copyright)
287
+
288
+ -- @copyright/c.go --
289
+ @@ -0,0 +1,8 @@
290
+ +// Copyright 2020 The Go Authors. All rights reserved.
291
+ +// Use of this source code is governed by a BSD-style
292
+ +// license that can be found in the LICENSE file.
293
+ +
294
+ +package main
295
+ +
296
+ +// docs
297
+ +const C = ""
298
+ -- @copyright/copyright.go --
299
+ @@ -7,2 +7 @@
300
+ -// docs
301
+ -const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=copyright)
302
+ +//@codeaction("const", "refactor.extract.toNewFile", edit=copyright)
303
+ -- buildconstraint.go --
304
+ //go:build go1.18
305
+
306
+ package main
307
+
308
+ // docs
309
+ const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=buildconstraint)
310
+
311
+ -- @buildconstraint/buildconstraint.go --
312
+ @@ -5,2 +5 @@
313
+ -// docs
314
+ -const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=buildconstraint)
315
+ +//@codeaction("const", "refactor.extract.toNewFile", edit=buildconstraint)
316
+ -- @buildconstraint/c.go --
317
+ @@ -0,0 +1,6 @@
318
+ +//go:build go1.18
319
+ +
320
+ +package main
321
+ +
322
+ +// docs
323
+ +const C = ""
324
+ -- copyrightandbuildconstraint.go --
325
+ // Copyright 2020 The Go Authors. All rights reserved.
326
+ // Use of this source code is governed by a BSD-style
327
+ // license that can be found in the LICENSE file.
328
+
329
+ //go:build go1.18
330
+
331
+ package main
332
+
333
+ // docs
334
+ const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=copyrightandbuildconstraint)
335
+ -- @copyrightandbuildconstraint/c.go --
336
+ @@ -0,0 +1,10 @@
337
+ +// Copyright 2020 The Go Authors. All rights reserved.
338
+ +// Use of this source code is governed by a BSD-style
339
+ +// license that can be found in the LICENSE file.
340
+ +
341
+ +//go:build go1.18
342
+ +
343
+ +package main
344
+ +
345
+ +// docs
346
+ +const C = ""
347
+ -- @copyrightandbuildconstraint/copyrightandbuildconstraint.go --
348
+ @@ -9,2 +9 @@
349
+ -// docs
350
+ -const C = "" //@codeaction("const", "refactor.extract.toNewFile", edit=copyrightandbuildconstraint)
351
+ +//@codeaction("const", "refactor.extract.toNewFile", edit=copyrightandbuildconstraint)
0 commit comments