package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Structs

Constructor is an empty struct to mark the constructor function Example: type StatementContext struct { _ constructor.Constructor `ctor:"NewStmtCtx"` } The linter `constructor` will then ignore all manual construction of the struct in `NewStmtCtx`, and return error for all other constructions.