cmd

package
v0.0.0-...-585f28f Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Package cmd /*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenMysql

func GenMysql(cfg configs.MysqlConfig)

func Run

func Run(cfg string)

Types

type Querier

type Querier interface {
	// GetById
	// SELECT * FROM @@table WHERE id = @id
	GetById(id int) (gen.T, error)

	// DeleteByID
	// DELETE FROM @@table WHERE id = @id
	DeleteByID(id int64) error
}

Querier Dynamic SQL

Jump to

Keyboard shortcuts

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