app

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "opabinia"

Variables

This section is empty.

Functions

func CopyFavicons

func CopyFavicons(path string) error

func CreateAsset

func CreateAsset(filename string) error

Types

type App

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

App provides a set of methods to perform operations for the application.

func NewApp

func NewApp() (*App, error)

func (*App) Compile

func (a *App) Compile() error

func (*App) DoInit

func (a *App) DoInit() error

DoInit initializes a new project with a specified structure and default content. It performs the following steps: 1. Reads the provided project Name from command-line arguments. 2. Creates the root project directory. 3. Creates subdirectories and populates them with templates, sample files, and assets.

func (*App) DoServe

func (a *App) DoServe() error

Jump to

Keyboard shortcuts

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