config

package
v0.0.0-...-28fd6cb Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSQlite

func GetSQlite() *gorm.DB

func Init

func Init() error

func InitializeSQlite

func InitializeSQlite() (*gorm.DB, error)

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func GetLogger

func GetLogger(p string) *Logger

func NewLogger

func NewLogger(p string) *Logger

func (*Logger) Debug

func (l *Logger) Debug(v ...interface{})

Create Non-Fomatted logs

func (*Logger) Debugf

func (l *Logger) Debugf(format string, v ...interface{})

Create Fomatted Enabled logs

func (*Logger) Error

func (l *Logger) Error(v ...interface{})

func (*Logger) Errorf

func (l *Logger) Errorf(format string, v ...interface{})

func (*Logger) Info

func (l *Logger) Info(v ...interface{})

func (*Logger) Infof

func (l *Logger) Infof(format string, v ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(v ...interface{})

func (*Logger) Warnf

func (l *Logger) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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