basic

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 added in v0.2.4

func RegisterBlueprints()

RegisterBlueprints registers the Company and User blueprints. Call seedling.ResetRegistry() before this in tests to start fresh.

Types

type Company

type Company struct {
	ID   int
	Name string
}

Company represents a company record.

type User

type User struct {
	ID        int
	CompanyID int
	Name      string
	Email     string
}

User represents a user who belongs to a company.

Jump to

Keyboard shortcuts

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