package runtime
import "github.com/igorhub/devcard/pkg/runtime"
Index ¶
- func ProduceDevcardWithJSON(tempDir string, producer devcard.DevcardProducer)
- func ProduceDevcardWithTCP(address, tempDir string, producer devcard.DevcardProducer)
- func TransientDir(dir string) string
Functions ¶
func ProduceDevcardWithJSON ¶
func ProduceDevcardWithJSON(tempDir string, producer devcard.DevcardProducer)
ProduceDevcard creates an empty devcard, fills it with content by running the producer function, marshals it to JSON, and writes to outFile.
func ProduceDevcardWithTCP ¶
func ProduceDevcardWithTCP(address, tempDir string, producer devcard.DevcardProducer)
ProduceDevcard creates an empty devcard, fills it with content by running the producer function, marshals it to JSON, and writes to outFile.
func TransientDir ¶
Source Files ¶
- Version
- v0.12.0 (latest)
- Published
- Jun 15, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 22 hours ago –
Tools for package owners.