github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/xtest/current_file_line.go (about)

     1  package xtest
     2  
     3  import "github.com/ydb-platform/ydb-go-sdk/v3/internal/stack"
     4  
     5  func CurrentFileLine() string {
     6  	return stack.Record(1,
     7  		stack.PackagePath(false),
     8  		stack.PackageName(false),
     9  		stack.StructName(false),
    10  		stack.FunctionName(false),
    11  		stack.Lambda(false),
    12  	)
    13  }