congo.go

27 lines
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// Package congo provides embedded filesystems for the Congo framework CLI.
//
// Congo is a single-binary Go framework that scaffolds web applications with
// vendored source code. This root package exports the embedded scaffold
// templates, framework source, and Claude Code context used by the CLI (cmd/)
// and promotional website (web/).
package congo

import "embed"

// ScaffoldFS contains project templates (res/scaffold/): go.mod.tmpl,
// Makefile.tmpl, controller templates, view templates, etc.
//
//go:embed all:res/scaffold
var ScaffoldFS embed.FS

// ClaudeContext is the framework documentation injected into CLAUDE.md
// by the "congo claude" command.
//
//go:embed res/claude-context.md
var ClaudeContext string

// SourceFS contains the entire Congo source tree. Used by the CLI for
// scaffold extraction (pkg/), the source browser, and viral distribution.
//
//go:embed all:cmd all:pkg all:res all:web *.go *.md go.mod go.sum Makefile Dockerfile .gitignore .dockerignore LICENSE
var SourceFS embed.FS