Documentation ¶
Index ¶
Constants ¶
View Source
const VERSION = "0.1.0"
VERSION of the application.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface { Container() di.Container Run() SetBasePath(basePath string) BasePath() string BootstrapPath() string ConfigPath() string Path() string PublicPath() string Environment() string IsEnvironment(env string) bool }
Application is the heart of the Gimli framework. It is responsible for all bootstrapping and general functionality.
func NewApplication ¶
func NewApplication(basePath string) Application
NewApplication creates a new Application instance, set the relevant paths in the container and register base bindings and providers.
Click to show internal directories.
Click to hide internal directories.