fixures

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Populate

func Populate(repo *core.Repository, log *slog.Logger)

Types

type FakeBook

type FakeBook struct {
	Title     string `json:"title"`
	Author    string `json:"author"`
	Summary   string `json:"summary"`
	ImageLink string `json:"image_link"`
	Category  string `json:"category"`
	Featured  bool   `json:"featured"`
}

type FakeData

type FakeData struct {
	LoremIpsum string     `json:"lorem_ipsum"`
	Books      []FakeBook `json:"books"`
}

Jump to

Keyboard shortcuts

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