config

package
v0.0.0-...-266b4ff Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDB

func GetDB() *gorm.DB

GetDB Initialize and return the database instance

func InitDynamoSession

func InitDynamoSession(tableName string) dynamo.Table

func InitViperConfig

func InitViperConfig()

InitViperConfig Initialize viper and load configuration

Types

type Resolver

type Resolver struct {
	URL *url.URL
}

Jump to

Keyboard shortcuts

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