Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposerDotJSON ¶
type ComposerDotJSON struct { Autoload ComposerDotJSONAutoload `json:"autoload"` Require map[string]string `json:"require"` RequireDev map[string]string `json:"require-dev"` }
ComposerDotJSON is the structure of the composer.json file
type ComposerDotJSONAutoload ¶
type ComposerDotJSONAutoload struct { PSR0 map[string]string `json:"psr-0"` PSR4 map[string]string `json:"psr-4"` }
ComposerDotJSONAutoload is the autoload struct for the composer.json file
type ComposerDotJSONConfig ¶
type ComposerDotJSONConfig struct {
BinDir string `json:"bin-dir"`
}
ComposerDotJSONConfig is the config struct for the composer.json file
type Go ¶
Go is the state of the go project
func (*Go) ModRequired ¶
ModRequired checks if a module is required
type Npm ¶
type Npm struct { Enabled bool // contains filtered or unexported fields }
Npm is the state of the npm project
func (Npm) HasDependency ¶
HasDependency checks if the project has a dependency
type PHP ¶
type PHP struct { Enabled bool // contains filtered or unexported fields }
PHP is the state of the php project
func (PHP) IsSymfony3 ¶
IsSymfony3 checks if the project is a symfony 3.4 project or not
type PackageDotJSON ¶
type PackageDotJSON struct { Dependencies map[string]string `json:"dependencies"` DevDependencies map[string]string `json:"devDependencies"` Scripts map[string]string `json:"scripts"` }
PackageDotJSON is the structure of the package.json file
type PackageLockDotJSON ¶
type PackageLockDotJSON struct {
Dependencies map[string]interface{} `json:"dependencies"`
}
PackageLockDotJSON is the structure of the package-lock.json file
Click to show internal directories.
Click to hide internal directories.