Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
type Constructor struct{}
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.
Click to show internal directories.
Click to hide internal directories.