batchinsert

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBlueprints

func RegisterBlueprints()

RegisterBlueprints registers Company, Project, and Task blueprints.

func ResetIDs

func ResetIDs()

ResetIDs resets the in-memory ID sequence used by this example package.

Types

type Company

type Company struct {
	ID   int
	Name string
}

type Project

type Project struct {
	ID        int
	CompanyID int
	Name      string
}

type Task

type Task struct {
	ID        int
	ProjectID int
	Title     string
}

Jump to

Keyboard shortcuts

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