github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/extract/extract_function/extract_basic_comment.go.golden (about)

     1  -- functionextraction_extract_basic_comment_4_2 --
     2  package extract
     3  
     4  func _() {
     5  	/* comment in the middle of a line */
     6  	//@mark(exSt18, "a")
     7  	// Comment on its own line
     8  	newFunction() //@mark(exEn18, "4")
     9  	//@extractfunc(exSt18, exEn18)
    10  }
    11  
    12  func newFunction() {
    13  	a := 1
    14  
    15  	_ = 3 + 4
    16  }
    17