gitstack

grindlemire/go-tui code browser

381 B markdown 17 lines 2026-04-18 · 7dc88fd raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# GSX Syntax

Demonstrates `.gsx` file structure including the `templ` keyword, component definitions, control flow with `if`/`for`/`:=` bindings, and Go expressions inside templates.

## Screenshot

![GSX Syntax](../../docs/images/guides/02.png)

## Run

```bash
go run .
```

## Guide

For a detailed walkthrough, see the [GSX Syntax guide](https://go-tui.dev/guide/gsx-syntax).