composer

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Copyright © 2021 Mirco Veltri <github@mircoveltri.me>

Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name string

	TemplateId   string
	TemplateData *config.TemplateData
	// contains filtered or unexported fields
}

func (*File) Create

func (f *File) Create(sf *factory.Artifact) error

func (*File) GetName

func (f *File) GetName() string

func (*File) GetPath

func (f *File) GetPath() string

func (*File) GetTemplateData

func (f *File) GetTemplateData() *config.TemplateData

func (*File) GetTemplateId

func (f *File) GetTemplateId() string

func (*File) SetName

func (f *File) SetName(name string)

func (*File) SetPath

func (f *File) SetPath(path string)

type Folder

type Folder struct {
	Name string
	// contains filtered or unexported fields
}

func GetAPIFolder

func GetAPIFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetConfigFolder

func GetConfigFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetContentFolder

func GetContentFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetLibFolder

func GetLibFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetRootFolder

func GetRootFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetRoutesFolder

func GetRoutesFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetStaticFolder

func GetStaticFolder(maker *pathmaker.SveltinPathMaker) *Folder

func GetThemesFolder

func GetThemesFolder(maker *pathmaker.SveltinPathMaker) *Folder

func NewFolder

func NewFolder(name string) *Folder

func (*Folder) Add

func (f *Folder) Add(c component)

func (*Folder) Create

func (f *Folder) Create(sf *factory.Artifact) error

func (*Folder) GetComponents

func (f *Folder) GetComponents() []component

func (*Folder) GetName

func (f *Folder) GetName() string

func (*Folder) GetPath

func (f *Folder) GetPath() string

func (*Folder) SetName

func (f *Folder) SetName(name string)

func (*Folder) SetPath

func (f *Folder) SetPath(path string)

Jump to

Keyboard shortcuts

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