compiler

package module
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 18 Imported by: 1

README

Compiler

librería go para compilar proyecto web ejemplo se su uso en fichero compile_test.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler struct {
	model.Page

	WORK_FOLDER   string
	BUILT_FOLDER  string
	STATIC_FOLDER string

	DirectoriesRegistered map[string]struct{}
	// contains filtered or unexported fields
}

func Config

func Config(options ...string) *Compiler

options ej: tinygo (wasm compiler) default go menu:<code html here> default "" modules:<code html here> default "" icons:<code html svg sprite icon here> default "" project_dir:test default local run app dir modules_dir:c:\go\modules default HomeUserDir/Packages/go compile_dir:cmd default "" components_dir:c:\go\pkg default HomeUserDir/Packages/go theme_dir:c:\pkg\go\store default:HomeUserDir/Packages/go/platform

func (Compiler) BuildCSS

func (c Compiler) BuildCSS(event_name string) error

func (*Compiler) BuildHTML

func (c *Compiler) BuildHTML(event_name string) error

func (*Compiler) BuildJS

func (c *Compiler) BuildJS(event_name string) error

func (Compiler) BuildWASM

func (c Compiler) BuildWASM(event_name string) error

func (*Compiler) CompileAllProject added in v0.0.2

func (c *Compiler) CompileAllProject()

func (Compiler) Rebuild added in v0.0.18

func (c Compiler) Rebuild() error

func (*Compiler) ThemeDir added in v0.0.18

func (c *Compiler) ThemeDir() string

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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