Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// IdentifierString is pasted in the first line of each file and will mark a file as a pina golada generated file
IdentifierString = "//THIS FILE WAS GENERATED USING PINA-GOLADA, PLEASE DO NOT EDIT"
)
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is able to build a file
func NewBuilder ¶
func NewBuilder(target *inspector.AstInterface, interfaceAnnotation *PinaGoladaInterface, parser annotation.Parser) *Builder
NewBuilder Creates a new builder instance
type PinaGoladaInterface ¶
type PinaGoladaInterface struct {
Injector string `yaml:"injector"`
}
PinaGoladaInterface is the struct used for the pina golada interface annotation
func (PinaGoladaInterface) GetIdentifier ¶
func (PinaGoladaInterface) GetIdentifier() string
GetIdentifier returns the identifier of the interface
type PinaGoladaMethod ¶
type PinaGoladaMethod struct { Asset string `yaml:"asset"` Compressor string `yaml:"compressor"` AbsolutePath bool `yaml:"absolute"` }
PinaGoladaMethod is the struct used for the pina golada interface annotation
func (PinaGoladaMethod) GetIdentifier ¶
func (PinaGoladaMethod) GetIdentifier() string
GetIdentifier returns the identifier of the interface
Click to show internal directories.
Click to hide internal directories.