internal

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 8 Imported by: 0

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

type InitializeOptions

type InitializeOptions struct {
	ErrorHandler func(error)
	TraceHandler func(format string, a ...any)
	HintHandler  func([]string)
	LineBreak    string
}

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.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL