Documentation ¶
Overview ¶
Package include provides functions and types that execute code inclusion in go files.
Index ¶
Constants ¶
View Source
const DefaultBuildTag = "include"
DefaultBuildTag is the default build tag to use when no other build tag has been given explicitly.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // BuildTag defines the build tag to toggle when generating code. BuildTag string // WorkingDir defines the current working directory used to resolve relative file name. If not set // defaults to the process' current working directory. WorkingDir string }
Options defines the options to be passed when including files.
Click to show internal directories.
Click to hide internal directories.