seed

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package seed stores the demo data set a development database starts from.

Index

Constants

View Source
const (
	AdminEmail    = "admin@example.com"
	AdminName     = "Admin"
	AdminPassword = "password1234"
)

Demo credentials stored by the seed subcommand, for development only.

Variables

This section is empty.

Functions

func Posts

func Posts(ctx context.Context, store post.Store, users gouncer.Store) error

Posts stores the demo posts the admin account does not already own.

Types

This section is empty.

Jump to

Keyboard shortcuts

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