Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition interface {
ID() string
Name() string
Kind() string
Type(caller string) (string, error)
Dependencies() ([]Definition, error)
Generate() (string, error)
// This comes after the definion is
// already made is sort of hacky
// TODO: come up with a better solution
SetPackage(pkg string)
GetPackage() string
SetFile(file string)
GetFile() string
}
Definition interface
Click to show internal directories.
Click to hide internal directories.