resources

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFolders

func CreateFolders(folders ...string) error

CreateFolders ...

func CreateFoldersByFile

func CreateFoldersByFile(files ...string) error

CreateFoldersByFile ...

func HasFile

func HasFile(filename string) bool

HasFile ...

func HasFolder

func HasFolder(name string) bool

HasFolder ...

Types

type Project

type Project struct {
	ID        string            `json:"id"`
	Contents  map[string]string `json:"contents"`
	Module    string            `json:"module"`
	Name      string            `json:"name"`
	Templates map[string]string `json:"templates"`
}

Project ...

func NewProject

func NewProject(name string) *Project

NewProject ...

type ProjectResourceAccess

type ProjectResourceAccess interface {
	GenerateProjectStructure(p *Project) (err error)
}

ProjectResourceAccess ...

func NewProjectResourceAccessFileSystem

func NewProjectResourceAccessFileSystem(path string, files []string) ProjectResourceAccess

NewProjectResourceAccessFileSystem ...

type ProjectResourceAccessFileSystem

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

ProjectResourceAccessFileSystem ...

func (*ProjectResourceAccessFileSystem) GenerateProjectStructure

func (a *ProjectResourceAccessFileSystem) GenerateProjectStructure(p *Project) (err error)

Jump to

Keyboard shortcuts

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