prj

package
v0.0.0-...-262cbe7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name         string
	AbsolutePath string
	Port         string
	DBURL        string
}

Project is the structure holding project information

func Current

func Current() (*Project, error)

Current fetches the current project information

func NewProject

func NewProject(name, path, port, dbURL string) *Project

NewProject initialized a new project's information

func (*Project) Create

func (p *Project) Create() error

Create creates a new project directory with with a conventional express-typescript file structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL