Documentation ¶
Index ¶
- type Compiler
- func (c Compiler) BuildCSS(event_name string) (err string)
- func (c *Compiler) BuildHTML(event_name string) (err string)
- func (c *Compiler) BuildJS(event_name string) (err string)
- func (c Compiler) BuildWASM(event_name string) (err string)
- func (c *Compiler) CompileAllProject()
- func (c Compiler) Rebuild() (err string)
- func (c *Compiler) ThemeDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct { token.TwoPublicKeyAdapter model.Page WORK_FOLDER string BUILT_FOLDER string STATIC_FOLDER string DirectoriesRegistered map[string]struct{} // contains filtered or unexported fields }
func Config ¶
func Config(key token.TwoPublicKeyAdapter, options ...string) *Compiler
options ej: no_minify 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) CompileAllProject ¶ added in v0.0.2
func (c *Compiler) CompileAllProject()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.