fakeco

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const SeedVersion = "fakeco.seed.v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelManifest

type ChannelManifest struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Manifest

type Manifest struct {
	Version    string            `json:"version"`
	Workspace  store.Workspace   `json:"workspace"`
	Users      []UserManifest    `json:"users"`
	Channels   []ChannelManifest `json:"channels"`
	MessageIDs map[string]string `json:"message_ids"`
}

func Seed

func Seed(ctx context.Context, st store.Store) (Manifest, error)

type UserManifest

type UserManifest struct {
	ID     string `json:"id"`
	Name   string `json:"name"`
	Handle string `json:"handle"`
	Email  string `json:"email"`
}

Jump to

Keyboard shortcuts

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