advanced

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	*gunit.Fixture
}

type DB

type DB struct {
	Base
}

func InitDB

func InitDB(b Base) *DB

func (*DB) Close

func (d *DB) Close() bool

func (*DB) Exec

func (d *DB) Exec(sql string) (any interface{})

type FancyFixture

type FancyFixture struct {
	Base

	CleanUps []cleanup
	// contains filtered or unexported fields
}

func (*FancyFixture) EndLiving

func (f *FancyFixture) EndLiving()

func (*FancyFixture) GetMysqlClient

func (f *FancyFixture) GetMysqlClient() *DB

func (*FancyFixture) Release

func (f *FancyFixture) Release()

Release close resource or cleanup

func (*FancyFixture) StartLiving

func (f *FancyFixture) StartLiving()

StartLiving means go live-streaming

func (*FancyFixture) Streaming

func (f *FancyFixture) Streaming()

Jump to

Keyboard shortcuts

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