Documentation
¶
Overview ¶
Example (One) ¶
builders := []Builder{ NewCPP11Builder(), NewCPP20Builder(), } for _, builder := range builders { builder.Build() }
Output: checking code syntax by C++11 standard compiling code by GCC 4.8 linking code by GNU linker checking code syntax by C++20 standard compiling code by GCC 8 linking code by GNU linker
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { Build() CheckSyntax() Compile() Link() }
func NewCPP11Builder ¶
func NewCPP11Builder() Builder
func NewCPP20Builder ¶
func NewCPP20Builder() Builder
type CPP11Builder ¶
type CPP11Builder struct {
// contains filtered or unexported fields
}
func (*CPP11Builder) CheckSyntax ¶
func (*CPP11Builder) CheckSyntax()
func (*CPP11Builder) Compile ¶
func (*CPP11Builder) Compile()
func (*CPP11Builder) Link ¶
func (*CPP11Builder) Link()
type CPP20Builder ¶
type CPP20Builder struct {
// contains filtered or unexported fields
}
func (*CPP20Builder) CheckSyntax ¶
func (*CPP20Builder) CheckSyntax()
func (*CPP20Builder) Compile ¶
func (*CPP20Builder) Compile()
func (*CPP20Builder) Link ¶
func (*CPP20Builder) Link()
Click to show internal directories.
Click to hide internal directories.