simplify_unit_testing

package
v0.0.0-...-c234f5e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaleCount

func MaleCount(s Stmt) (int, error)

MaleCount 返回男性员工总数

Types

type Result

type Result struct {
	Count int
}

func (Result) Int

func (r Result) Int() int

type Rows

type Rows []struct{}

type Stmt

type Stmt interface {
	Close() error
	NumInput() int
	Exec(stmt string, args ...string) (Result, error)
	Query(args []string) (Rows, error)
}

Jump to

Keyboard shortcuts

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