Help us shape the future of Go! Take the 2026 Go Developer Survey

blog

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command blog is the example application of this repository: a project runner with the users/posts migrations, factories and seeders compiled in. A real project gets the same file from `dbkit init` (as db/main.go).

go run ./examples/blog migrate
go run ./examples/blog db:seed

Directories

Path Synopsis
Package factories describes how to build fake rows for each table.
Package factories describes how to build fake rows for each table.
Package migrations contains your application's migrations.
Package migrations contains your application's migrations.
Package models holds plain structs that mirror table rows.
Package models holds plain structs that mirror table rows.
Package seeders contains your application's seeders.
Package seeders contains your application's seeders.

Jump to

Keyboard shortcuts

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