Documentation
¶
Overview ¶
Package lang maps file paths to a language identifier used to pick the right prompt pack. Keep this list short and obvious; unknown extensions fall through to the default pack.
Index ¶
Constants ¶
View Source
const ( Default = "default" TypeScript = "typescript" JavaScript = "javascript" Go = "go" Python = "python" Java = "java" Rust = "rust" Ruby = "ruby" CSharp = "csharp" PHP = "php" )
Identifier returned by Detect. These match the pack file names in internal/prompts/packs (e.g. Detect("foo.ts") → "typescript" → typescript.md).
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.