Help us shape the future of Go! Take the 2026 Go Developer Survey

codegen

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package codegen emits project-specific Go adapters for Karty UI and assets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TextureAssetFile

func TextureAssetFile(names []string) ([]byte, error)

TextureAssetFile emits typed logical texture references from karty.toml.

func UIAssetFile

func UIAssetFile(names []string) ([]byte, error)

UIAssetFile emits typed UI asset names, sharing identifier collision checks.

func UIClientFiles

func UIClientFiles(components []uicompiler.Component, module string) (map[string][]byte, error)

UIClientFiles emits same-package client functions for model-bound screens. Callers stage these next to copies of authored Go; never write them into src.

func UIPackageFiles

func UIPackageFiles(components []uicompiler.Component, module string) (map[string][]byte, error)

UIPackageFiles emits the persistent, importable SDK 0.4 UI package.

func UIViewFile

func UIViewFile(components []uicompiler.Component) ([]byte, error)

UIViewFile emits project-specific strongly typed UI component entry points.

Types

This section is empty.

Jump to

Keyboard shortcuts

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