package runtime

import "github.com/igorhub/devcard/pkg/runtime"

Index

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

func TransientDir(dir string) string

Source Files

produce.go

Version
v0.12.0 (latest)
Published
Jun 15, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
22 hours ago

Tools for package owners.