sqlconverter

package module
v0.0.0-...-c54f885 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 7 Imported by: 0

README

sqlconverter

The sqlconverter package is a Go module that provides functionality to convert Go structs into SQL statements.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToCounter

func ConvertToCounter(req interface{}) (sb squirrel.SelectBuilder, err error)

func ConvertToSelecter

func ConvertToSelecter(req interface{}) (sb squirrel.SelectBuilder, err error)

Types

type ErrorX

type ErrorX struct {
	Err  error
	File string
	Line int
}

func NewErrorX

func NewErrorX(err error) ErrorX

func (ErrorX) Error

func (e ErrorX) Error() string

Jump to

Keyboard shortcuts

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