Documentation ¶
Index ¶
- Constants
- func FindMainDir(info devcard.DevcardInfo) string
- func GenerateMain(projectDir string, info devcard.DevcardInfo) error
- type MsgCell
- type MsgError
- type MsgInfo
- type MsgPipeOut
- type MsgReady
- type Project
- func (p *Project) CreateRepo(devcardName string) (*Repo, error)
- func (p *Project) DevcardInfo(devcardName string) devcard.DevcardInfo
- func (p *Project) DevcardsInfo() []devcard.DevcardInfo
- func (p *Project) RemoveRepo(repo *Repo)
- func (p *Project) Shutdown()
- func (p *Project) Source(decl string) (string, error)
- type Repo
- type UpdateMessage
Constants ¶
View Source
const ( PipeStdout = "Stdout" PipeStderr = "Stderr" )
Variables ¶
This section is empty.
Functions ¶
func FindMainDir ¶
func FindMainDir(info devcard.DevcardInfo) string
func GenerateMain ¶
func GenerateMain(projectDir string, info devcard.DevcardInfo) error
Types ¶
type MsgPipeOut ¶
type Project ¶
type Project struct { Name string Dir string Module string Err error Update chan struct{} // contains filtered or unexported fields }
func NewProject ¶
func (*Project) DevcardInfo ¶
func (p *Project) DevcardInfo(devcardName string) devcard.DevcardInfo
func (*Project) DevcardsInfo ¶
func (p *Project) DevcardsInfo() []devcard.DevcardInfo
func (*Project) RemoveRepo ¶
type Repo ¶
type Repo struct { Dir string TransientDir string DevcardInfo devcard.DevcardInfo // contains filtered or unexported fields }
func (*Repo) Prepare ¶
Prepare creates files and directories required for building/running the project.
type UpdateMessage ¶
type UpdateMessage interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.