github.com/vanstinator/golangci-lint@v0.0.0-20240223191551-cc572f00d9d1/test/testdata/lll.go (about)

     1  //golangcitest:args -Elll
     2  //golangcitest:config_path testdata/configs/lll.yml
     3  package testdata
     4  
     5  import (
     6  	_ "unsafe"
     7  )
     8  
     9  func Lll() {
    10  	// In my experience, long lines are the lines with comments, not the code. So this is a long comment // want "line is 137 characters"
    11  }
    12  
    13  //go:generate mockgen -source lll.go -destination a_verylong_generate_mock_my_lll_interface.go --package testdata -self_package github.com/vanstinator/golangci-lint/test/testdata
    14  type MyLllInterface interface {
    15  }
    16  
    17  //go:linkname VeryLongNameForTestAndLinkNameFunction github.com/vanstinator/golangci-lint/test/testdata.VeryLongNameForTestAndLinkedNameFunction
    18  func VeryLongNameForTestAndLinkNameFunction()
    19  
    20  func VeryLongNameForTestAndLinkedNameFunction() {}