package project
import "github.com/igorhub/devcard/pkg/internal/project"
Index ¶
- type DevcardsMetaSlice
- func (ds DevcardsMetaSlice) FilterByImportPath(importPath string) DevcardsMetaSlice
- func (ds DevcardsMetaSlice) GroupByImportPath() []DevcardsMetaSlice
- func (ds DevcardsMetaSlice) Lookup(name string) devcard.DevcardMeta
- type Project
- func NewProject(cfg *config.Config, projectConfig config.ProjectConfig) *Project
- func (p *Project) GetDevcards() DevcardsMetaSlice
- func (p *Project) GetRunner(id string) chan any
- func (p *Project) Restart(cfg *config.Config)
- func (p *Project) Shutdown() error
- func (p *Project) StartRunner(devcardName string) string
- func (p *Project) StopRunner(runnerId string)
Types ¶
type DevcardsMetaSlice ¶
type DevcardsMetaSlice []devcard.DevcardMeta
func (DevcardsMetaSlice) FilterByImportPath ¶
func (ds DevcardsMetaSlice) FilterByImportPath(importPath string) DevcardsMetaSlice
func (DevcardsMetaSlice) GroupByImportPath ¶
func (ds DevcardsMetaSlice) GroupByImportPath() []DevcardsMetaSlice
func (DevcardsMetaSlice) Lookup ¶
func (ds DevcardsMetaSlice) Lookup(name string) devcard.DevcardMeta
type Project ¶
type Project struct { config.ProjectConfig Module string // contains filtered or unexported fields }
func NewProject ¶
func NewProject(cfg *config.Config, projectConfig config.ProjectConfig) *Project
func (*Project) GetDevcards ¶
func (p *Project) GetDevcards() DevcardsMetaSlice
func (*Project) GetRunner ¶
func (*Project) Restart ¶
func (*Project) Shutdown ¶
func (*Project) StartRunner ¶
func (*Project) StopRunner ¶
Source Files ¶
ast.go devcards_meta_slice.go fork.go fork_main.go fork_sync.go project.go project_event_loop.go project_watch.go
- Version
- v0.12.0 (latest)
- Published
- Jun 15, 2025
- Platform
- linux/amd64
- Imports
- 27 packages
- Last checked
- 4 days ago –
Tools for package owners.