constructor

package
v1.1.0-beta.0...-2a72e7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL