Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(options InitializeOptions)
Initialize initializes various dependencies for the application with the provided options. The dependencies that are initialized include file, sql, config, container, secret, net, and pal. This function is typically called at the start of the application to ensure that all dependencies are properly initialized before any other code is executed.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
io
|
|
Package Output provides a number of methods for logging and handling errors, including Debugf, Errorf, Fatalf, FatalErr, Infof, Panic, Panicf, Struct, Tracef, and Warnf.
|
Package Output provides a number of methods for logging and handling errors, including Debugf, Errorf, Fatalf, FatalErr, Infof, Panic, Panicf, Struct, Tracef, and Warnf. |
Package pal provides functions that need to operate differently across different operating systems and/or platforms.
|
Package pal provides functions that need to operate differently across different operating systems and/or platforms. |
Package secret provide functions to encrypting and decrypting text such that the text can be persisted in a configuration file (xml / yaml / json etc.)
|
Package secret provide functions to encrypting and decrypting text such that the text can be persisted in a configuration file (xml / yaml / json etc.) |
Click to show internal directories.
Click to hide internal directories.