setup

package
v0.0.0-...-8c4d7ab Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config() (*config.Config, error)

func ConnectToDB

func ConnectToDB(cfg *config.Config) (*gorm.DB, error)

func Logger

func Logger(config *config.Config)

func RunMigrationScripts

func RunMigrationScripts(cfg *config.Config) error

func TodoService

func TodoService(db *gorm.DB) service.TodoService

func WebRouting

func WebRouting(todoService service.TodoService)

Types

This section is empty.

Jump to

Keyboard shortcuts

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