bootstrap

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAdminUser

func EnsureAdminUser(ctx context.Context, store store, logger *slog.Logger, email, password string) error

EnsureAdminUser creates or updates the bootstrap admin when configured.

func SeedCoreExercises added in v0.0.20

func SeedCoreExercises(ctx context.Context, store exerciseStore, logger *slog.Logger, filePath string) error

SeedCoreExercises loads core exercises from a YAML file and inserts them if they don't exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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