blueprint

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package blueprint copies the blueprint from the srcDir to the destDir with the right config for the gostatic binary

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blueprint

type Blueprint struct {
	// contains filtered or unexported fields
}

Blueprint is a struct that holds the data to copy the srcDir to destDir

func NewBlueprint

func NewBlueprint(srcDir, destDir, namespace string) *Blueprint

NewBlueprint returns a new instance of Blueprint

func (*Blueprint) InitProject

func (blueprint *Blueprint) InitProject() (string, error)

InitProject initializes the project via copying files

func (*Blueprint) ProjectDir

func (blueprint *Blueprint) ProjectDir() string

ProjectDir returns destination project dir

func (*Blueprint) ProjectName

func (blueprint *Blueprint) ProjectName() string

ProjectName returns the project name

Jump to

Keyboard shortcuts

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