projectlayout

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyFolders = []string{
	"api",
	"configs",
	"examples",
	"githooks",
	"init",
	"test",
	"third_party",
	"tools",
	"web",
	"website",
}
View Source
var FOLDERS = []string{
	"api",
	"assets",
	"build",
	"cmd",
	"configs",
	"deployments",
	"docs",
	"examples",
	"githooks",
	"init",
	"internal",
	"pkg",
	"scripts",
	"test",
	"third_party",
	"tools",
	"vendor",
	"web",
	"website",
}
View Source
var NonEmptyFolders = []IFolder{
	Assets{},
	Build{},
	Cmd{},
	Deployments{},
	Docs{},
	Internal{},
	Pkg{},
	Scripts{},

	GoMod{},
	Gow{},
}

Functions

func GenerateProject

func GenerateProject(app application.Application) (string, error)

Types

type Assets

type Assets struct{}

type Build

type Build struct{}

type BuildTemplate

type BuildTemplate struct {
	Name string
}

type Cmd

type Cmd struct{}

type CmdTemplate

type CmdTemplate struct {
	Name, FolderName, Owner, Repo string
}

type Deployments

type Deployments struct{}

type DeploymentsTemplate

type DeploymentsTemplate struct {
	Name string
}

type Docs

type Docs struct{}

type DocsTemplate

type DocsTemplate struct {
	Title, Description string
}

type GoMod

type GoMod struct{}

type GoModTemplate

type GoModTemplate struct {
	Name  string
	Owner string
	Repo  string
}

type Gow

type Gow struct{}

type GowTemplate

type GowTemplate struct {
	Name string
}

type IFolder

type IFolder interface {
	// contains filtered or unexported methods
}

type Internal

type Internal struct{}

type InternalTemplate

type InternalTemplate struct {
	Package string
}

type Pkg

type Pkg struct{}

type PkgTemplate

type PkgTemplate struct {
	Package string
}

type Scripts

type Scripts struct{}

type ScriptsTemplate

type ScriptsTemplate struct {
	Name string
}

Jump to

Keyboard shortcuts

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