infrastructure

package
v0.0.0-...-af97575 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router() *echo.Echo

Router ...

Types

type DB

type DB struct {
	Host     string
	Username string
	Password string
	DBName   string
	Connect  *gorm.DB
}

DB ...

type SQLHandler

type SQLHandler struct {
	Conn *gorm.DB
}

SQLHandler ... SQL handler struct

func NewSQLHandler

func NewSQLHandler() *SQLHandler

NewSQLHandler ...

func (*SQLHandler) Where

func (handler *SQLHandler) Where(out interface{}, query interface{}, args ...interface{}) interface{}

Where ...

Jump to

Keyboard shortcuts

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