tests

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDB

func SetupDB(logger func(...any), dbName ...string) *indexdb.IndexDB

SetupDB creates a new IndexDB instance for testing

Types

type Product

type Product struct {
	IDProduct string
	Name      string
	Price     float64
}

TestProduct represents another sample struct for testing

func (Product) StructName

func (p Product) StructName() string

type User

type User struct {
	ID    string
	Name  string
	Email string
}

User represents a sample struct for testing table creation

func (User) StructName

func (u User) StructName() string

Jump to

Keyboard shortcuts

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